summaryrefslogtreecommitdiff
path: root/cmd/podman/errors_remote.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2019-05-02 11:37:59 -0400
committerMatthew Heon <matthew.heon@pm.me>2019-05-02 13:13:32 -0400
commit1e6413e3fde448d3b44fc36fd966d8d57af811f5 (patch)
tree663cab416c98703634479ee34dff005942b8ea76 /cmd/podman/errors_remote.go
parent0b2c9c2acc38f51f871fd5a06aca205127a06d1d (diff)
downloadpodman-1e6413e3fde448d3b44fc36fd966d8d57af811f5.tar.gz
podman-1e6413e3fde448d3b44fc36fd966d8d57af811f5.tar.bz2
podman-1e6413e3fde448d3b44fc36fd966d8d57af811f5.zip
Add an InvalidState varlink error for Init
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'cmd/podman/errors_remote.go')
-rw-r--r--cmd/podman/errors_remote.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/podman/errors_remote.go b/cmd/podman/errors_remote.go
index ab255ea56..1e276be10 100644
--- a/cmd/podman/errors_remote.go
+++ b/cmd/podman/errors_remote.go
@@ -33,6 +33,8 @@ func outputError(err error) {
ne = errors.New(e.Reason)
case *iopodman.VolumeNotFound:
ne = errors.New(e.Reason)
+ case *iopodman.InvalidState:
+ ne = errors.New(e.Reason)
case *iopodman.ErrorOccurred:
ne = errors.New(e.Reason)
default: