Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for updateReqContext (0.08 sec)

  1. cmd/utils.go

    func likelyUnescapeGeneric(p string, escapeFn func(string) (string, error)) string {
    	ep, err := unescapeGeneric(p, escapeFn)
    	if err != nil {
    		return p
    	}
    	return ep
    }
    
    func updateReqContext(ctx context.Context, objects ...ObjectV) context.Context {
    	req := logger.GetReqInfo(ctx)
    	if req != nil {
    		req.Lock()
    		defer req.Unlock()
    		req.Objects = make([]logger.ObjectVersion, 0, len(objects))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  2. cmd/bucket-handlers.go

    		objects[i] = deleteObjectsReq.Objects[i].ObjectV
    	}
    
    	// Make sure to update context to print ObjectNames for multi objects.
    	ctx = updateReqContext(ctx, objects...)
    
    	// Call checkRequestAuthType to populate ReqInfo.AccessKey before GetBucketInfo()
    	// Ignore errors here to preserve the S3 error behavior of GetBucketInfo()
    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