Implement UpdateContainerResources in FakeRuntimeService

Signed-off-by: Aldo Culquicondor <acondor@google.com>
This commit is contained in:
Aldo Culquicondor
2019-05-03 15:46:44 -04:00
parent 5bbad4fd46
commit 6732906d3b

View File

@@ -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
}