Skip to content

Commit 097d585

Browse files
authored
Merge pull request kubernetes#75278 from Nessex/updatecontainerresources-label-fix
Fix label on UpdateContainerResources operation
2 parents 67ee03a + 394c581 commit 097d585

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)