fix unable to setup webhook server under leader election (#2830)

Signed-off-by: Jeff <zw0948@gmail.com>
This commit is contained in:
zryfish
2020-08-10 15:14:20 +08:00
committed by GitHub
parent 48e77cbb79
commit 21a5f83082
2 changed files with 79 additions and 122 deletions

View File

@@ -191,7 +191,7 @@ func (c *StorageCapabilityController) handlerCSIDriver(obj interface{}) {
}
for _, storageClass := range storageClasses {
if storageClass.Provisioner == csiDriver.Name {
klog.Info("enqueue StorageClass when handler csiDriver", storageClass)
klog.V(4).Infof("enqueue StorageClass %s when handling csiDriver", storageClass.Name)
c.enqueueStorageClass(storageClass)
}
}