diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-01-14 18:55:20 -0500 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-01-16 09:23:32 -0500 |
commit | 45e9a6b12e74d50b8f6ab271c7800cb165f451e4 (patch) | |
tree | 5083048ba4ccf238dadd5c434528ee65b49fae62 /cmd/podman/shared/intermediate.go | |
parent | 61fbce710b8d69e1203ea9055479a3f9dbe626b9 (diff) | |
download | podman-45e9a6b12e74d50b8f6ab271c7800cb165f451e4.tar.gz podman-45e9a6b12e74d50b8f6ab271c7800cb165f451e4.tar.bz2 podman-45e9a6b12e74d50b8f6ab271c7800cb165f451e4.zip |
Remove c.String(net)
We have a lot of cludgy code trying to make --net and --network equivalent.
This will allow --net to still exists but will eliminate the help and confusion.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/shared/intermediate.go')
-rw-r--r-- | cmd/podman/shared/intermediate.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/podman/shared/intermediate.go b/cmd/podman/shared/intermediate.go index d1f0e602e..cfb3f612c 100644 --- a/cmd/podman/shared/intermediate.go +++ b/cmd/podman/shared/intermediate.go @@ -423,7 +423,6 @@ func NewIntermediateLayer(c *cliconfig.PodmanCommand, remote bool) GenericCLIRes m["memory-swap"] = newCRString(c, "memory-swap") m["memory-swappiness"] = newCRInt64(c, "memory-swappiness") m["name"] = newCRString(c, "name") - m["net"] = newCRString(c, "net") m["network"] = newCRString(c, "network") m["no-hosts"] = newCRBool(c, "no-hosts") m["oom-kill-disable"] = newCRBool(c, "oom-kill-disable") |