mirror of
https://github.com/containers/podman.git
synced 2025-06-23 10:38:20 +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
|
||||
if policy == PolicyDefault {
|
||||
continue
|
||||
} else {
|
||||
}
|
||||
|
||||
id, _ := ctr.Image()
|
||||
policyMap, exists := u.imageToPolicyMapper[id]
|
||||
if !exists {
|
||||
@ -405,7 +406,6 @@ func (u *updater) imageContainersMap() []error {
|
||||
u.imageToPolicyMapper[id] = policyMap
|
||||
// Now we know that `ctr` is configured for auto updates.
|
||||
}
|
||||
}
|
||||
|
||||
return errors
|
||||
}
|
||||
|
Reference in New Issue
Block a user