mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 07:57:35 +00:00
Kubelet: pass pod name/namespace/uid to runtimes
This commit is contained in:
@@ -181,7 +181,7 @@ func (r *FakeRuntime) ListContainers(*runtimeApi.ContainerFilter) ([]*runtimeApi
|
||||
for _, c := range r.Containers {
|
||||
list = append(list, &runtimeApi.Container{
|
||||
Id: c.Status.Id,
|
||||
Name: c.Config.Name,
|
||||
Metadata: c.Config.Metadata,
|
||||
Labels: c.Config.Labels,
|
||||
ImageRef: c.Status.ImageRef,
|
||||
State: &c.State,
|
||||
|
||||
Reference in New Issue
Block a user