diff options
author | Jhon Honce <jhonce@redhat.com> | 2020-04-16 12:06:36 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2020-04-21 07:56:10 -0700 |
commit | b21a5b7ff470612e2bde5f120aecfbc1a0881689 (patch) | |
tree | a47e3a42d363a99537a4d154bfecd2eba0de40fd /cmd/podman/images/inspect.go | |
parent | f4c2eb1d9dcff5feda5c3eae81ce1bcdbf166ec4 (diff) | |
download | podman-b21a5b7ff470612e2bde5f120aecfbc1a0881689.tar.gz podman-b21a5b7ff470612e2bde5f120aecfbc1a0881689.tar.bz2 podman-b21a5b7ff470612e2bde5f120aecfbc1a0881689.zip |
Provide a json variable pointing to a configured json API
* All commands now using the same instance of json API
* `json` variable created in each package to prevent `encoding/json`
from being re-introduced
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'cmd/podman/images/inspect.go')
-rw-r--r-- | cmd/podman/images/inspect.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/podman/images/inspect.go b/cmd/podman/images/inspect.go index 3190ab725..91c9445eb 100644 --- a/cmd/podman/images/inspect.go +++ b/cmd/podman/images/inspect.go @@ -2,7 +2,6 @@ package images import ( "context" - "encoding/json" "fmt" "os" "strings" |