diff options
author | haircommander <pehunt@redhat.com> | 2018-08-15 11:32:23 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-08-16 20:31:50 +0000 |
commit | a51eb1e70f3647fb5e3126a50a3458fcf486af16 (patch) | |
tree | b21822ae0883ad831bf6cb6f5a460f3bc543cb78 /cmd/podman | |
parent | 8d5e0108d7c8b69abb9821bfe55475ae5d663b3a (diff) | |
download | podman-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')
-rw-r--r-- | cmd/podman/shared/.pod.go.swp | bin | 12288 -> 0 bytes | |||
-rw-r--r-- | cmd/podman/varlink/io.podman.varlink | 7 |
2 files changed, 6 insertions, 1 deletions
diff --git a/cmd/podman/shared/.pod.go.swp b/cmd/podman/shared/.pod.go.swp Binary files differdeleted file mode 100644 index a8565e752..000000000 --- a/cmd/podman/shared/.pod.go.swp +++ /dev/null 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. |