mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-13 21:25:09 +00:00
Implement UpdateContainerResources in FakeRuntimeService
Signed-off-by: Aldo Culquicondor <acondor@google.com>
This commit is contained in:
@@ -407,6 +407,10 @@ func (r *FakeRuntimeService) ContainerStatus(containerID string) (*runtimeapi.Co
|
||||
}
|
||||
|
||||
func (r *FakeRuntimeService) UpdateContainerResources(string, *runtimeapi.LinuxContainerResources) error {
|
||||
r.Lock()
|
||||
defer r.Unlock()
|
||||
|
||||
r.Called = append(r.Called, "UpdateContainerResources")
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user