Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetObjectRetentionMeta (0.29 sec)

  1. cmd/object-handlers.go

    		return
    	}
    
    	objInfo, err := getObjectInfo(ctx, bucket, object, opts)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	retention := objectlock.GetObjectRetentionMeta(objInfo.UserDefined)
    	if !retention.Mode.Valid() {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrNoSuchObjectLockConfiguration), r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top