diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-05-01 18:27:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 18:27:16 +0200 |
commit | 226e0da6fe12bf8a023f67ce6cebacd54ec65fdc (patch) | |
tree | a42bfedb583873d9d9e9d8830b6f688b138e0d08 /cmd/podman/networks/network.go | |
parent | 49107a5a2ee98793b4ecfaa0e1a6cacfdf5ccdd0 (diff) | |
parent | 98e71583a4e7a0bf1f4a00fcab8bafa4915eb14a (diff) | |
download | podman-226e0da6fe12bf8a023f67ce6cebacd54ec65fdc.tar.gz podman-226e0da6fe12bf8a023f67ce6cebacd54ec65fdc.tar.bz2 podman-226e0da6fe12bf8a023f67ce6cebacd54ec65fdc.zip |
Merge pull request #6057 from baude/v2networking
v2networking enable commands
Diffstat (limited to 'cmd/podman/networks/network.go')
-rw-r--r-- | cmd/podman/networks/network.go | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/cmd/podman/networks/network.go b/cmd/podman/networks/network.go index e2a928312..56dd390ea 100644 --- a/cmd/podman/networks/network.go +++ b/cmd/podman/networks/network.go @@ -1,4 +1,4 @@ -package images +package network import ( "github.com/containers/libpod/cmd/podman/registry" @@ -9,7 +9,7 @@ import ( var ( // Command: podman _network_ - cmd = &cobra.Command{ + networkCmd = &cobra.Command{ Use: "network", Short: "Manage networks", Long: "Manage networks", @@ -18,12 +18,9 @@ var ( } ) -// TODO add the following to main.go to get networks back onto the -// command list. -// _ "github.com/containers/libpod/cmd/podman/networks" func init() { registry.Commands = append(registry.Commands, registry.CliCommand{ Mode: []entities.EngineMode{entities.ABIMode}, - Command: cmd, + Command: networkCmd, }) } |