Fix device uncertain errors on reboot

This commit is contained in:
Hemant Kumar
2023-12-05 15:49:51 -05:00
parent 89dfbebe2e
commit ed0facacfa
4 changed files with 19 additions and 0 deletions

View File

@@ -39,6 +39,11 @@ import (
volumetypes "k8s.io/kubernetes/pkg/volume/util/types"
)
const (
// EmptyUniquePodName is a UniquePodName for empty string.
EmptyUniquePodName volumetypes.UniquePodName = volumetypes.UniquePodName("")
)
// OperationExecutor defines a set of operations for attaching, detaching,
// mounting, or unmounting a volume that are executed with a NewNestedPendingOperations which
// prevents more than one operation from being triggered on the same volume.