Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsOperationFinishedError (0.17 sec)

  1. 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)
  2. pkg/volume/util/operationexecutor/node_expander.go

    			klog.Errorf(msg.Error())
    			return false, err, testResponseData{}
    		}
    	}
    	_, resizeErr := ne.volumePlugin.NodeExpand(ne.pluginResizeOpts)
    	if resizeErr != nil {
    		if volumetypes.IsOperationFinishedError(resizeErr) {
    			var markFailedError error
    			ne.pvc, markFailedError = util.MarkNodeExpansionFailed(ne.pvc, ne.kubeClient)
    			if markFailedError != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 19:30:35 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top