mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 03:08:15 +00:00
fix copylock vet errors in component-base metrics
This commit is contained in:
@@ -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. " +
|
||||
|
||||
Reference in New Issue
Block a user