fix copylock vet errors in component-base metrics

This commit is contained in:
David Ashpole
2022-03-31 14:39:44 +00:00
parent 691d4c3989
commit 120da3bb9b
11 changed files with 50 additions and 50 deletions

View File

@@ -827,7 +827,7 @@ func buildKubeletClientConfig(ctx context.Context, s *options.KubeletServer, nod
}
legacyregistry.RawMustRegister(metrics.NewGaugeFunc(
metrics.GaugeOpts{
&metrics.GaugeOpts{
Subsystem: kubeletmetrics.KubeletSubsystem,
Name: "certificate_manager_client_ttl_seconds",
Help: "Gauge of the TTL (time-to-live) of the Kubelet's client certificate. " +