diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-04-01 19:08:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-01 19:08:08 +0200 |
commit | d534e524272121a6489c1a2a2c11c6b389027ecd (patch) | |
tree | dbe09731facf6a80406a62a6ca95b3f1514c2047 /cmd/podmanV2/root.go | |
parent | 82cbebcbea7f92be7e82bc11fdf1b30d7e194cdc (diff) | |
parent | 46e3b2efb84580cc12b0bc5ad0863957b88ae202 (diff) | |
download | podman-d534e524272121a6489c1a2a2c11c6b389027ecd.tar.gz podman-d534e524272121a6489c1a2a2c11c6b389027ecd.tar.bz2 podman-d534e524272121a6489c1a2a2c11c6b389027ecd.zip |
Merge pull request #5645 from jwhonce/wip/inspect
V2 podman inspect
Diffstat (limited to 'cmd/podmanV2/root.go')
-rw-r--r-- | cmd/podmanV2/root.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd/podmanV2/root.go b/cmd/podmanV2/root.go index cb4cb4e00..6fc12f57e 100644 --- a/cmd/podmanV2/root.go +++ b/cmd/podmanV2/root.go @@ -7,7 +7,6 @@ import ( "path" "github.com/containers/libpod/cmd/podmanV2/registry" - "github.com/containers/libpod/libpod/define" "github.com/containers/libpod/pkg/domain/entities" "github.com/containers/libpod/version" "github.com/sirupsen/logrus" @@ -88,8 +87,8 @@ func Execute() { o := registry.NewOptions(rootCmd.Context(), ®istry.EngineOptions) if err := rootCmd.ExecuteContext(o); err != nil { fmt.Fprintln(os.Stderr, "Error:", err.Error()) - } else if registry.GetExitCode() == define.ExecErrorCodeGeneric { - // The exitCode modified from define.ExecErrorCodeGeneric, + } else if registry.GetExitCode() == registry.ExecErrorCodeGeneric { + // The exitCode modified from registry.ExecErrorCodeGeneric, // indicates an application // running inside of a container failed, as opposed to the // podman command failed. Must exit with that exit code |