diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-08-05 02:44:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-05 02:44:58 +0200 |
commit | ca2eccea4a2646fb140883e9399f5d15d1997c1a (patch) | |
tree | 265e2b2d442b8768b1df5d4fd6fd60b9a5910696 /cmd/podman/common/create.go | |
parent | 807efd669802f00a90339bfa43a508505bec4858 (diff) | |
parent | 77d803d4fec4427b39a92994694513609158f8f0 (diff) | |
download | podman-ca2eccea4a2646fb140883e9399f5d15d1997c1a.tar.gz podman-ca2eccea4a2646fb140883e9399f5d15d1997c1a.tar.bz2 podman-ca2eccea4a2646fb140883e9399f5d15d1997c1a.zip |
Merge pull request #7217 from rhatdan/alias
Remove duplicated code
Diffstat (limited to 'cmd/podman/common/create.go')
-rw-r--r-- | cmd/podman/common/create.go | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/cmd/podman/common/create.go b/cmd/podman/common/create.go index e96b6a8d6..403a1065b 100644 --- a/cmd/podman/common/create.go +++ b/cmd/podman/common/create.go @@ -518,21 +518,3 @@ func GetCreateFlags(cf *ContainerCLIOpts) *pflag.FlagSet { ) return &createFlags } - -func AliasFlags(_ *pflag.FlagSet, name string) pflag.NormalizedName { - switch name { - case "healthcheck-command": - name = "health-cmd" - case "healthcheck-interval": - name = "health-interval" - case "healthcheck-retries": - name = "health-retries" - case "healthcheck-start-period": - name = "health-start-period" - case "healthcheck-timeout": - name = "health-timeout" - case "net": - name = "network" - } - return pflag.NormalizedName(name) -} |