mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 10:19:50 +00:00
Store runtimeHandler for the PodSandboxStatus in FakeRuntimeService
Include the RuntimeHandler in ListPodSandbox Signed-off-by: Aldo Culquicondor <acondor@google.com>
This commit is contained in:
parent
5bbad4fd46
commit
d077d21867
@ -183,6 +183,7 @@ func (r *FakeRuntimeService) RunPodSandbox(config *runtimeapi.PodSandboxConfig,
|
|||||||
},
|
},
|
||||||
Labels: config.Labels,
|
Labels: config.Labels,
|
||||||
Annotations: config.Annotations,
|
Annotations: config.Annotations,
|
||||||
|
RuntimeHandler: runtimeHandler,
|
||||||
},
|
},
|
||||||
RuntimeHandler: runtimeHandler,
|
RuntimeHandler: runtimeHandler,
|
||||||
}
|
}
|
||||||
@ -259,6 +260,7 @@ func (r *FakeRuntimeService) ListPodSandbox(filter *runtimeapi.PodSandboxFilter)
|
|||||||
CreatedAt: s.CreatedAt,
|
CreatedAt: s.CreatedAt,
|
||||||
Labels: s.Labels,
|
Labels: s.Labels,
|
||||||
Annotations: s.Annotations,
|
Annotations: s.Annotations,
|
||||||
|
RuntimeHandler: s.RuntimeHandler,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user