Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for sendErr (0.05 sec)

  1. cmd/erasure-server-pool.go

    	errCh := make(chan error, 1)
    	go func() {
    		sentErr := false
    		sendErr := func(err error) {
    			if !sentErr {
    				select {
    				case results <- itemOrErr[ObjectInfo]{Err: err}:
    					sentErr = true
    				case <-parentCtx.Done():
    				}
    			}
    		}
    		defer func() {
    			select {
    			case <-ctx.Done():
    				sendErr(ctx.Err())
    			default:
    			}
    			xioutil.SafeClose(results)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    			return
    		}
    	}
    
    	// Check if we are creating svc account for request sender.
    	isSvcAccForRequestor := false
    	if targetUser == requestorUser || targetUser == requestorParentUser {
    		isSvcAccForRequestor = true
    	}
    
    	// If we are creating svc account for request sender, ensure
    	// that targetUser is a real user (i.e. not derived
    	// credentials).
    	if isSvcAccForRequestor {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    	writeSuccessResponseXML(w, encodedSuccessResponse)
    }
    
    // ListBucketsHandler - GET Service.
    // -----------
    // This implementation of the GET operation returns a list of all buckets
    // owned by the authenticated sender of the request.
    func (api objectAPIHandlers) ListBucketsHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "ListBuckets")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
Back to top