Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isErrSignatureDoesNotMatch (0.1 sec)

  1. cmd/warm-backend.go

    	xhttp.DrainBody(r)
    	if err != nil {
    		if _, ok := err.(BackendDown); ok {
    			return err
    		}
    		switch {
    		case isErrBucketNotFound(err):
    			return errTierBucketNotFound
    		case isErrSignatureDoesNotMatch(err):
    			return errTierInvalidCredentials
    		default:
    			return tierPermErr{
    				Op:  tierGet,
    				Err: err,
    			}
    		}
    	}
    	if err = w.Remove(ctx, probeObject, remoteVersionID); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. cmd/object-api-errors.go

    	if errors.Is(err, errFileVersionNotFound) {
    		return true
    	}
    
    	var versionNotFound VersionNotFound
    	return errors.As(err, &versionNotFound)
    }
    
    // isErrSignatureDoesNotMatch - Check if error type is SignatureDoesNotMatch.
    func isErrSignatureDoesNotMatch(err error) bool {
    	var signatureDoesNotMatch SignatureDoesNotMatch
    	return errors.As(err, &signatureDoesNotMatch)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top