You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
klog.V(1).Infof("RunWrapper: using dynamic initialization from secret %s/%s, starting the secret watcher", c.DynamicReloadingConfig.CloudConfigSecretNamespace, c.DynamicReloadingConfig.CloudConfigSecretName)
230
+
logger.V(1).Info("using dynamic initialization from secret, starting the secret watcher", "namespace", c.DynamicReloadingConfig.CloudConfigSecretNamespace, "name", c.DynamicReloadingConfig.CloudConfigSecretName)
231
231
updateCh=dynamic.RunSecretWatcherOrDie(c)
232
232
}
233
233
@@ -236,7 +236,7 @@ func RunWrapper(s *options.CloudControllerManagerOptions, c *cloudcontrollerconf
236
236
for {
237
237
select {
238
238
case<-updateCh:
239
-
klog.V(2).Info("RunWrapper: detected the cloud config has been updated, re-constructing the cloud controller manager")
239
+
logger.V(2).Info("detected the cloud config has been updated, re-constructing the cloud controller manager")
ifstrings.Contains(err.Error(), "404 Not Found") {
327
-
klog.Infof("failed to list cluster user credentials for 1 minute, retrying")
331
+
logger.Info("failed to list cluster user credentials for 1 minute, retrying")
328
332
returnfalse, nil
329
333
}
330
334
returnfalse, fmt.Errorf("failed to list cluster user credentials with resource group name %q, cluster ID %q: %v", d.ResourceGroupName, d.ClusterName, err)
klog.V(5).Infof("RetryAfterMinPolicy: retry-after value %s is less than minimum %s, removing retry-after header..", retryAfter, p.minRetryAfter)
59
+
logger.V(5).Info("RetryAfterMinPolicy: retry-after value is less than minimum, removing retry-after header", "retryAfter", retryAfter, "minimum", p.minRetryAfter)
0 commit comments