mirror of
https://github.com/containers/podman.git
synced 2025-06-23 18:59:30 +08:00
pkg/autoupdate: remove redundant branch
[NO NEW TESTS NEEDED] - should not change behavior. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
@ -395,7 +395,8 @@ func (u *updater) imageContainersMap() []error {
|
|||||||
// Skip labels not related to autoupdate
|
// Skip labels not related to autoupdate
|
||||||
if policy == PolicyDefault {
|
if policy == PolicyDefault {
|
||||||
continue
|
continue
|
||||||
} else {
|
}
|
||||||
|
|
||||||
id, _ := ctr.Image()
|
id, _ := ctr.Image()
|
||||||
policyMap, exists := u.imageToPolicyMapper[id]
|
policyMap, exists := u.imageToPolicyMapper[id]
|
||||||
if !exists {
|
if !exists {
|
||||||
@ -405,7 +406,6 @@ func (u *updater) imageContainersMap() []error {
|
|||||||
u.imageToPolicyMapper[id] = policyMap
|
u.imageToPolicyMapper[id] = policyMap
|
||||||
// Now we know that `ctr` is configured for auto updates.
|
// Now we know that `ctr` is configured for auto updates.
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return errors
|
return errors
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user