Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Truong (0.14 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. internal/s3select/select_test.go

    			query:      `SELECT * from s3object s WHERE s.nested[1][0] = 7`,
    			wantResult: `{"id":3,"title":"Second Record","desc":"another text","nested":[[2,3,4],[7,8.5,9]]}`,
    		},
    		{
    			name:       "wrong-index-no-result",
    			query:      `SELECT * from s3object s WHERE s.nested[0][0] = 7`,
    			wantResult: ``,
    		},
    		{
    			name:  "not-equal-result",
    			query: `SELECT * from s3object s WHERE s.nested[1][0] != 7`,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  3. 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