We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d42c79b + a60591d commit 378a8adCopy full SHA for 378a8ad
pkg/controller/controller.go
@@ -384,6 +384,9 @@ func NewCSIProvisioner(client kubernetes.Interface,
384
// Remove deleted PVCs from rate limiter.
385
claimHandler := cache.ResourceEventHandlerFuncs{
386
DeleteFunc: func(obj interface{}) {
387
+ if unknown, ok := obj.(cache.DeletedFinalStateUnknown); ok && unknown.Obj != nil {
388
+ obj = unknown.Obj
389
+ }
390
if claim, ok := obj.(*v1.PersistentVolumeClaim); ok {
391
provisioner.nodeDeployment.rateLimiter.Forget(claim.UID)
392
}
0 commit comments