Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Truong (0.15 sec)

  1. cmd/api-errors.go

    	}
    	if globalSite.Region != "" {
    		if errCode == ErrAuthorizationHeaderMalformed {
    			apiErr.Description = fmt.Sprintf("The authorization header is malformed; the region is wrong; expecting '%s'.", globalSite.Region)
    			return apiErr
    		}
    	}
    	return apiErr
    }
    
    func (e errorCodeMap) ToAPIErr(errCode APIErrorCode) APIError {
    	return e.ToAPIErrWithErr(errCode, nil)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  2. cmd/admin-handlers-users.go

    	if err != nil {
    		if err == errNoSuchUser || err == errNoSuchGroup {
    			if globalIAMSys.LDAPConfig.Enabled() {
    				// When LDAP is enabled, warn user that they are using the wrong
    				// API. FIXME: error can be no such group as well - fix errNoSuchUserLDAPWarn
    				writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errNoSuchUserLDAPWarn), r.URL)
    				return
    			}
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
Back to top