Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ParseLifecycleConfigWithID (0.11 sec)

  1. cmd/bucket-lifecycle-handlers.go

    	// Check if bucket exists.
    	rcfg, err := globalBucketObjectLockSys.Get(bucket)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	bucketLifecycle, err := lifecycle.ParseLifecycleConfigWithID(io.LimitReader(r.Body, r.ContentLength))
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Validate the received bucket policy document
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top