Merge pull request #23493 from rhatdan/buildah

Ignore missing containers when calling GetExternalContainerLists
This commit is contained in:
openshift-merge-bot[bot] 2024-08-05 13:08:40 +00:00 committed by GitHub
commit 63ec8293ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -122,6 +122,9 @@ func GetExternalContainerLists(runtime *libpod.Runtime) ([]entities.ListContaine
switch {
case errors.Is(err, types.ErrLoadError):
continue
// Container could have been removed since listing
case errors.Is(err, types.ErrContainerUnknown):
continue
case err != nil:
return nil, err
default: