diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-09-26 20:45:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-26 20:45:30 +0200 |
commit | a0c0971e63b42031d05e82c26add5354ae69a7cf (patch) | |
tree | 902c463e0753d9549fd097abbbb001ea15704806 /pkg/domain/infra | |
parent | aaeabb0e8cc4aca1c621677f9c73f1757df300c4 (diff) | |
parent | 7bc36602f6c407cffdc799ca1b2fc7c00bc4f93b (diff) | |
download | podman-a0c0971e63b42031d05e82c26add5354ae69a7cf.tar.gz podman-a0c0971e63b42031d05e82c26add5354ae69a7cf.tar.bz2 podman-a0c0971e63b42031d05e82c26add5354ae69a7cf.zip |
Merge pull request #15933 from vrothberg/fix-15879
auto-update: validate container image
Diffstat (limited to 'pkg/domain/infra')
-rw-r--r-- | pkg/domain/infra/abi/play.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkg/domain/infra/abi/play.go b/pkg/domain/infra/abi/play.go index bd9117f72..4a83cb464 100644 --- a/pkg/domain/infra/abi/play.go +++ b/pkg/domain/infra/abi/play.go @@ -20,7 +20,6 @@ import ( "github.com/containers/image/v5/types" "github.com/containers/podman/v4/libpod" "github.com/containers/podman/v4/libpod/define" - "github.com/containers/podman/v4/pkg/autoupdate" "github.com/containers/podman/v4/pkg/domain/entities" v1apps "github.com/containers/podman/v4/pkg/k8s.io/api/apps/v1" v1 "github.com/containers/podman/v4/pkg/k8s.io/api/core/v1" @@ -816,8 +815,8 @@ func (ic *ContainerEngine) getImageAndLabelInfo(ctx context.Context, cwd string, } } - setLabel(autoupdate.Label) - setLabel(autoupdate.AuthfileLabel) + setLabel(define.AutoUpdateLabel) + setLabel(define.AutoUpdateAuthfileLabel) return pulledImage, labels, nil } |