Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetObjectLockConfig (0.1 sec)

  1. cmd/bucket-handlers.go

    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Deny object locking configuration settings on existing buckets without object lock enabled.
    	if _, _, err = globalBucketMetadataSys.GetObjectLockConfig(bucket); err != nil {
    		if _, ok := err.(BucketObjectLockConfigNotFound); ok {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrObjectLockConfigurationNotAllowed), r.URL)
    		} else {
    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