summaryrefslogtreecommitdiff
path: root/cmd/podman/varlink
diff options
context:
space:
mode:
authorhaircommander <pehunt@redhat.com>2018-08-15 11:32:23 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-16 20:31:50 +0000
commita51eb1e70f3647fb5e3126a50a3458fcf486af16 (patch)
treeb21822ae0883ad831bf6cb6f5a460f3bc543cb78 /cmd/podman/varlink
parent8d5e0108d7c8b69abb9821bfe55475ae5d663b3a (diff)
downloadpodman-a51eb1e70f3647fb5e3126a50a3458fcf486af16.tar.gz
podman-a51eb1e70f3647fb5e3126a50a3458fcf486af16.tar.bz2
podman-a51eb1e70f3647fb5e3126a50a3458fcf486af16.zip
Added reason to PodContainerError
Signed-off-by: haircommander <pehunt@redhat.com> Closes: #1275 Approved by: mheon
Diffstat (limited to 'cmd/podman/varlink')
-rw-r--r--cmd/podman/varlink/io.podman.varlink7
1 files changed, 6 insertions, 1 deletions
diff --git a/cmd/podman/varlink/io.podman.varlink b/cmd/podman/varlink/io.podman.varlink
index 0e6f0f054..abbaf1b07 100644
--- a/cmd/podman/varlink/io.podman.varlink
+++ b/cmd/podman/varlink/io.podman.varlink
@@ -346,6 +346,11 @@ type ListPodData (
containersinfo: []ListPodContainerInfo
)
+type PodContainerErrorData (
+ containerid: string,
+ reason: string
+)
+
# Ping provides a response for developers to ensure their varlink setup is working.
# #### Example
# ~~~
@@ -758,7 +763,7 @@ error PodNotFound (name: string)
# PodContainerError means a container associated with a pod failed to preform an operation. It contains
# a container ID of the container that failed.
-error PodContainerError (podname: string, ctrnames: []string)
+error PodContainerError (podname: string, errors: []PodContainerErrorData)
# ErrorOccurred is a generic error for an error that occurs during the execution. The actual error message
# is includes as part of the error's text.