Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 33 of 33 for NoError (0.06 sec)

  1. cmd/test-utils_test.go

    	}
    	if toStorageErr(nil) != nil {
    		t.Errorf("Test expected to return nil, failed instead got a non-nil value %s", toStorageErr(nil))
    	}
    	ctx := context.Background()
    	if toAPIError(ctx, nil) != noError {
    		t.Errorf("Test expected error code to be ErrNone, failed instead provided %s", toAPIError(ctx, nil).Code)
    	}
    }
    
    // Uploads an object using DummyDataGen directly via the http
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    		if err != nil {
    			return err
    		}
    		sameTarget, apiErr := validateReplicationDestination(ctx, bucket, newReplicationConfig, &validateReplicationDestinationOptions{CheckRemoteBucket: true})
    		if apiErr != noError {
    			return fmt.Errorf("bucket replication config validation error: %#v", apiErr)
    		}
    		err = newReplicationConfig.Validate(bucket, sameTarget)
    		if err != nil {
    			return err
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  3. istioctl/pkg/validate/validate.go

    			}
    			warnings, err := operatorvalidate.ParseAndValidateIstioOperator(un.Object, nil)
    			if err != nil {
    				return nil, err
    			}
    			if len(warnings) > 0 {
    				return validation.Warning(warnings.ToError()), nil
    			}
    		}
    	}
    
    	// Didn't really validate.  This is OK, as we often get non-Istio Kubernetes YAML
    	// we can't complain about.
    
    	return nil, nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 22:27:47 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top