summaryrefslogtreecommitdiff
path: root/cmd/podman/images/trust_set.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-11-17 18:45:36 +0100
committerGitHub <noreply@github.com>2020-11-17 18:45:36 +0100
commit12de330094fdcd2e2fd0d10d5e5ddd962193de8b (patch)
treefb249f58fde42bc575825b32474f09c111553603 /cmd/podman/images/trust_set.go
parent42ec4cf87f8d0a84301594a4fc5cf05f0a10bd7f (diff)
parent389dcb5c29d926e89d5d4c0b26ebf434c2fe5dcb (diff)
downloadpodman-12de330094fdcd2e2fd0d10d5e5ddd962193de8b.tar.gz
podman-12de330094fdcd2e2fd0d10d5e5ddd962193de8b.tar.bz2
podman-12de330094fdcd2e2fd0d10d5e5ddd962193de8b.zip
Merge pull request #8370 from rhatdan/wrap
Remove some more excessive wrapping and stuttering
Diffstat (limited to 'cmd/podman/images/trust_set.go')
-rw-r--r--cmd/podman/images/trust_set.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/images/trust_set.go b/cmd/podman/images/trust_set.go
index f0399b110..1a7392f3e 100644
--- a/cmd/podman/images/trust_set.go
+++ b/cmd/podman/images/trust_set.go
@@ -55,7 +55,7 @@ func setTrust(cmd *cobra.Command, args []string) error {
valid, err := image.IsValidImageURI(args[0])
if err != nil || !valid {
- return errors.Wrapf(err, "invalid image uri %s", args[0])
+ return err
}
if !util.StringInSlice(setOptions.Type, validTrustTypes) {