Skip to content

Commit 394c581

Browse files
committed
Fix label on UpdateContainerResources operation
1 parent eb6a1b6 commit 394c581

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kubelet/kuberuntime/instrumented_services.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ func (in instrumentedRuntimeService) ContainerStatus(containerID string) (*runti
135135
}
136136

137137
func (in instrumentedRuntimeService) UpdateContainerResources(containerID string, resources *runtimeapi.LinuxContainerResources) error {
138-
const operation = "container_status"
138+
const operation = "update_container"
139139
defer recordOperation(operation, time.Now())
140140

141141
err := in.service.UpdateContainerResources(containerID, resources)

0 commit comments

Comments
 (0)