diff --git a/pkg/kubelet/metrics/metrics.go b/pkg/kubelet/metrics/metrics.go index 8c1b68eef55..d4a15c99f2d 100644 --- a/pkg/kubelet/metrics/metrics.go +++ b/pkg/kubelet/metrics/metrics.go @@ -77,9 +77,9 @@ func Register(containerCache kubecontainer.RuntimeCache) { type SyncPodType int const ( - SyncPodCreate SyncPodType = iota + SyncPodSync SyncPodType = iota SyncPodUpdate - SyncPodSync + SyncPodCreate ) func (sp SyncPodType) String() string {