summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-08-27 12:28:25 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-28 10:11:21 +0000
commitbfedcb4f3c2da84dd51dc886ed8ffc303daf88f7 (patch)
tree51a9ab883d60cd4528c8382cbd67bb18b9188c3e /cmd
parent9edea231f114cb6835d2efb436b010df30c40875 (diff)
downloadpodman-bfedcb4f3c2da84dd51dc886ed8ffc303daf88f7.tar.gz
podman-bfedcb4f3c2da84dd51dc886ed8ffc303daf88f7.tar.bz2
podman-bfedcb4f3c2da84dd51dc886ed8ffc303daf88f7.zip
Ensure return errors match API docs
In the API docs, we generally state the type of error that should be returned if a container or image cannot be found. In several cases, the code did not match the API doc, when the API doc was correct. Signed-off-by: baude <bbaude@redhat.com> Closes: #1353 Approved by: rhatdan
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/varlink/io.podman.varlink3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/podman/varlink/io.podman.varlink b/cmd/podman/varlink/io.podman.varlink
index 18b705bb8..3cc24249d 100644
--- a/cmd/podman/varlink/io.podman.varlink
+++ b/cmd/podman/varlink/io.podman.varlink
@@ -434,8 +434,7 @@ method ListContainerProcesses(name: string, opts: []string) -> (container: []str
method GetContainerLogs(name: string) -> (container: []string)
# ListContainerChanges takes a name or ID of a container and returns changes between the container and
-# its base image. It returns a struct of changed, deleted, and added path names. If the
-# container cannot be found, a [ContainerNotFound](#ContainerNotFound) error will be returned.
+# its base image. It returns a struct of changed, deleted, and added path names.
method ListContainerChanges(name: string) -> (container: ContainerChanges)
# ExportContainer creates an image from a container. It takes the name or ID of a container and a