diff --git a/pkg/neg/metrics/metrics.go b/pkg/neg/metrics/metrics.go index a527aa6b89..d8a4c8cb85 100644 --- a/pkg/neg/metrics/metrics.go +++ b/pkg/neg/metrics/metrics.go @@ -337,7 +337,7 @@ func (m *NegMetrics) PublishNegControllerErrorCountMetrics(err error, isIgnored NegControllerErrorCount.WithLabelValues(getErrorLabel(err, isIgnored)).Inc() } -// PublishLabelPropagationError publishes error occured during label propagation. +// PublishLabelPropagationError publishes error occurred during label propagation. func PublishLabelPropagationError(errType string) { LabelPropagationError.WithLabelValues(errType).Inc() } diff --git a/pkg/neg/syncers/labels/labels.go b/pkg/neg/syncers/labels/labels.go index c97559f075..d93b61156d 100644 --- a/pkg/neg/syncers/labels/labels.go +++ b/pkg/neg/syncers/labels/labels.go @@ -90,7 +90,7 @@ func GetPodLabelMap(pod *v1.Pod, lpConfig PodLabelPropagationConfig) (PodLabelMa return labelMap, nil } -// publishLabelPropagationTruncationMetrics publishes errors occured during +// publishLabelPropagationTruncationMetrics publishes errors occurred during // label truncation. func publishLabelPropagationTruncationMetrics(err error) { if errors.Is(err, ErrLabelTruncated) {