diff options
author | Parker Van Roy <pvanroy@redhat.com> | 2021-02-22 16:11:06 -0500 |
---|---|---|
committer | Parker Van Roy <pvanroy@redhat.com> | 2021-02-24 14:52:19 -0500 |
commit | ef549235eb63117d10537e6d54adf448e05b40ad (patch) | |
tree | 74d3fbca2c05a1809a0ab14b426e734ff57dd043 /cmd/podman/networks/network.go | |
parent | ccbe4ff73f72cf584c63a980f111bec148f57ac4 (diff) | |
download | podman-ef549235eb63117d10537e6d54adf448e05b40ad.tar.gz podman-ef549235eb63117d10537e6d54adf448e05b40ad.tar.bz2 podman-ef549235eb63117d10537e6d54adf448e05b40ad.zip |
Updated based on Jhonce comments
Added ID to default
removed outdated imports
slight refactor
Test Network Headers added to network_test.go
Signed-off-by: Parker Van Roy <pvanroy@redhat.com>
Diffstat (limited to 'cmd/podman/networks/network.go')
-rw-r--r-- | cmd/podman/networks/network.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/podman/networks/network.go b/cmd/podman/networks/network.go index e729f35f3..4d6cd8abd 100644 --- a/cmd/podman/networks/network.go +++ b/cmd/podman/networks/network.go @@ -8,6 +8,9 @@ import ( ) var ( + // Pull in configured json library + json = registry.JSONLibrary() + // Command: podman _network_ networkCmd = &cobra.Command{ Use: "network", |