summaryrefslogtreecommitdiff
path: root/libpod/define
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-06-24 12:19:42 -0400
committerGitHub <noreply@github.com>2020-06-24 12:19:42 -0400
commit988fd27541dfa852ee9543c2d8a916896ef0c774 (patch)
tree592f484305f10be66d076952b6f81bc637309c11 /libpod/define
parent6bc5dcc2829c2bc08923df0b50f71582d5558fe8 (diff)
parent1c6c12581ce0f2257a862e3a6a8dbaa7d0f32686 (diff)
downloadpodman-988fd27541dfa852ee9543c2d8a916896ef0c774.tar.gz
podman-988fd27541dfa852ee9543c2d8a916896ef0c774.tar.bz2
podman-988fd27541dfa852ee9543c2d8a916896ef0c774.zip
Merge pull request #6746 from vrothberg/untag
podman untag: error if tag doesn't exist
Diffstat (limited to 'libpod/define')
-rw-r--r--libpod/define/errors.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpod/define/errors.go b/libpod/define/errors.go
index e0c9811fe..98dc603d1 100644
--- a/libpod/define/errors.go
+++ b/libpod/define/errors.go
@@ -17,6 +17,9 @@ var (
// ErrNoSuchImage indicates the requested image does not exist
ErrNoSuchImage = image.ErrNoSuchImage
+ // ErrNoSuchTag indicates the requested image tag does not exist
+ ErrNoSuchTag = image.ErrNoSuchTag
+
// ErrNoSuchVolume indicates the requested volume does not exist
ErrNoSuchVolume = errors.New("no such volume")