Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for errIsTierPermError (0.92 sec)

  1. cmd/warm-backend.go

    }
    
    type tierPermErr struct {
    	Op  tierOp
    	Err error
    }
    
    func (te tierPermErr) Error() string {
    	return fmt.Sprintf("failed to perform %s: %v", te.Op, te.Err)
    }
    
    func errIsTierPermError(err error) bool {
    	var tpErr tierPermErr
    	return errors.As(err, &tpErr)
    }
    
    // remoteVersionID represents the version id of an object in the remote tier.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. cmd/admin-handler-utils.go

    			apiErr = APIError{
    				Code:           "XMinioAdminTierTypeUnsupported",
    				Description:    err.Error(),
    				HTTPStatusCode: http.StatusBadRequest,
    			}
    		case errIsTierPermError(err):
    			apiErr = APIError{
    				Code:           "XMinioAdminTierInsufficientPermissions",
    				Description:    err.Error(),
    				HTTPStatusCode: http.StatusBadRequest,
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 03 07:17:20 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top