Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into release-1.27
Browse files Browse the repository at this point in the history
  • Loading branch information
k8s-release-robot committed Mar 24, 2023
2 parents 853db53 + 0f373ab commit bcd6658
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pkg/registry/core/pod/rest/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,7 @@ func countSkipTLSMetric(insecureSkipTLSVerifyBackend bool) {
}
counter.Inc()

deprecatedCounter, err := deprecatedPodLogsUsage.GetMetricWithLabelValues(usageType)
if err != nil {
utilruntime.HandleError(err)
return
}
deprecatedCounter.Inc()
deprecatedPodLogsUsage.WithLabelValues(usageType).Inc()
}

// NewGetOptions creates a new options object
Expand Down

0 comments on commit bcd6658

Please sign in to comment.