- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for IsOperationFinishedError (0.21 sec)
-
pkg/volume/util/types/types.go
func NewUncertainProgressError(msg string) *UncertainProgressError { return &UncertainProgressError{msg: msg} } // IsOperationFinishedError checks if given error is of type that indicates // operation is finished with a FINAL error. func IsOperationFinishedError(err error) bool { if _, ok := err.(*UncertainProgressError); ok { return false } if _, ok := err.(*TransientOperationFailure); ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 31 17:23:56 UTC 2024 - 5.2K bytes - Viewed (0) -
pkg/volume/csi/csi_mounter.go
defer func() { // Only if there was an error and volume operation was considered // finished, we should remove the directory. if err != nil && volumetypes.IsOperationFinishedError(err) { // attempt to cleanup volume mount dir if removeerr := removeMountDir(c.plugin, dir); removeerr != nil { klog.Error(log("mounter.SetUpAt failed to remove mount dir after error [%s]: %v", dir, removeerr))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jan 30 10:47:59 UTC 2024 - 21K bytes - Viewed (0) -
pkg/volume/csi/csi_plugin.go
defer func() { // Only if there was an error and volume operation was considered // finished, we should remove the directory. if err != nil && volumetypes.IsOperationFinishedError(err) { // attempt to cleanup volume mount dir. if err = removeMountDir(p, dataDir); err != nil { klog.Error(log("attacher.MountDevice failed to remove mount dir after error [%s]: %v", dataDir, err)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 29.2K bytes - Viewed (0) -
pkg/volume/util/operationexecutor/operation_generator.go
} } func (og *operationGenerator) markDeviceErrorState(volumeToMount VolumeToMount, devicePath, deviceMountPath string, mountError error, actualStateOfWorld ActualStateOfWorldMounterUpdater) { if volumetypes.IsOperationFinishedError(mountError) && actualStateOfWorld.GetDeviceMountState(volumeToMount.VolumeName) == DeviceMountUncertain { if actualStateOfWorld.IsVolumeDeviceReconstructed(volumeToMount.VolumeName) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 101.4K bytes - Viewed (0)