mirror of https://github.com/containers/podman.git
				
				
				
			Merge pull request #23493 from rhatdan/buildah
Ignore missing containers when calling GetExternalContainerLists
This commit is contained in:
		
						commit
						63ec8293ee
					
				|  | @ -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: | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue