From 394c581a56de680ef0d2c6ca6edbdc0c32ef8168 Mon Sep 17 00:00:00 2001 From: Nathan Essex Date: Tue, 12 Mar 2019 14:18:53 +0900 Subject: [PATCH] Fix label on UpdateContainerResources operation --- pkg/kubelet/kuberuntime/instrumented_services.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubelet/kuberuntime/instrumented_services.go b/pkg/kubelet/kuberuntime/instrumented_services.go index b12cb5ab89..91d5ac2113 100644 --- a/pkg/kubelet/kuberuntime/instrumented_services.go +++ b/pkg/kubelet/kuberuntime/instrumented_services.go @@ -135,7 +135,7 @@ func (in instrumentedRuntimeService) ContainerStatus(containerID string) (*runti } func (in instrumentedRuntimeService) UpdateContainerResources(containerID string, resources *runtimeapi.LinuxContainerResources) error { - const operation = "container_status" + const operation = "update_container" defer recordOperation(operation, time.Now()) err := in.service.UpdateContainerResources(containerID, resources)