From a51eb1e70f3647fb5e3126a50a3458fcf486af16 Mon Sep 17 00:00:00 2001 From: haircommander Date: Wed, 15 Aug 2018 11:32:23 -0400 Subject: Added reason to PodContainerError Signed-off-by: haircommander Closes: #1275 Approved by: mheon --- cmd/podman/varlink/io.podman.varlink | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'cmd/podman/varlink') 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. -- cgit v1.2.3-54-g00ecf