diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-10-19 15:49:11 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-19 15:49:11 -0400 |
commit | e944544271d9e515bdfc7e364e3ddf372b0dd378 (patch) | |
tree | f1db817702a42e6c1d910033bcfa85024fc9417e /pkg/domain | |
parent | 7ffcab0854342844a44b2668bd9d98849bf935c8 (diff) | |
parent | 8cbf7700a557b9f0a58664c8b0f400b30fae5709 (diff) | |
download | podman-e944544271d9e515bdfc7e364e3ddf372b0dd378.tar.gz podman-e944544271d9e515bdfc7e364e3ddf372b0dd378.tar.bz2 podman-e944544271d9e515bdfc7e364e3ddf372b0dd378.zip |
Merge pull request #8056 from xordspar0/invalid-image
Make invalid image name error more specific
Diffstat (limited to 'pkg/domain')
-rw-r--r-- | pkg/domain/infra/abi/play.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/abi/play.go b/pkg/domain/infra/abi/play.go index a7c66bae6..348570a20 100644 --- a/pkg/domain/infra/abi/play.go +++ b/pkg/domain/infra/abi/play.go @@ -341,7 +341,7 @@ func (ic *ContainerEngine) playKubePod(ctx context.Context, podName string, podY } named, err := reference.ParseNormalizedNamed(container.Image) if err != nil { - return nil, err + return nil, errors.Wrapf(err, "Failed to parse image %q", container.Image) } // In kube, if the image is tagged with latest, it should always pull if tagged, isTagged := named.(reference.NamedTagged); isTagged { |