mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +00:00
Handle empty container name in dockershim.
This commit is contained in:
@@ -191,7 +191,7 @@ func (ds *dockerService) ListPodSandbox(filter *runtimeApi.PodSandboxFilter) ([]
|
||||
c := containers[i]
|
||||
converted, err := toRuntimeAPISandbox(&c)
|
||||
if err != nil {
|
||||
glog.V(5).Infof("Unable to convert docker to runtime API sandbox: %v", err)
|
||||
glog.V(4).Infof("Unable to convert docker to runtime API sandbox: %v", err)
|
||||
continue
|
||||
}
|
||||
if filterOutReadySandboxes && converted.GetState() == runtimeApi.PodSandBoxState_READY {
|
||||
|
||||
Reference in New Issue
Block a user