mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-07 06:47:51 +02:00
Update weed/s3api/s3api_object_handlers_put.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
1db149ecc2
commit
12f34f965f
1 file changed
+1
-1
@@ -416,7 +416,7 @@ func (s3a *S3ApiServer) extractObjectLockMetadataFromRequest(r *http.Request, en
|
||||
if explicitMode == "" && explicitRetainUntilDate == "" {
|
||||
bucket, _ := s3_constants.GetBucketAndObject(r)
|
||||
if err := s3a.applyBucketDefaultRetention(bucket, entry); err != nil {
|
||||
glog.V(2).Infof("extractObjectLockMetadataFromRequest: could not apply bucket default retention for %s: %v", bucket, err)
|
||||
glog.V(2).Infof("extractObjectLockMetadataFromRequest: skipping bucket default retention for %s: %v", bucket, err)
|
||||
// Don't fail the upload if default retention can't be applied - this matches AWS behavior
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user