diff options
| author | chrislu <chris.lu@gmail.com> | 2025-07-18 01:49:44 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-07-18 01:49:44 -0700 |
| commit | 1db149ecc24f5d8771436975a315852637a29d0e (patch) | |
| tree | 14e296db159e0ffecfa81515c9c724ec34e20613 /weed/s3api/s3api_object_handlers_put.go | |
| parent | 59f8444a90537cde0202bcc30b6d2b8cfade4840 (diff) | |
| download | seaweedfs-1db149ecc24f5d8771436975a315852637a29d0e.tar.xz seaweedfs-1db149ecc24f5d8771436975a315852637a29d0e.zip | |
address comments
Diffstat (limited to 'weed/s3api/s3api_object_handlers_put.go')
| -rw-r--r-- | weed/s3api/s3api_object_handlers_put.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/weed/s3api/s3api_object_handlers_put.go b/weed/s3api/s3api_object_handlers_put.go index a0f633b3f..e4c966562 100644 --- a/weed/s3api/s3api_object_handlers_put.go +++ b/weed/s3api/s3api_object_handlers_put.go @@ -12,7 +12,6 @@ import ( "time" "github.com/pquerna/cachecontrol/cacheobject" - "github.com/seaweedfs/seaweedfs/weed/glog" "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb" "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants" @@ -437,7 +436,7 @@ func (s3a *S3ApiServer) applyBucketDefaultRetention(bucket string, entry *filer_ // Get bucket configuration (getBucketConfig handles caching internally) bucketConfig, errCode := s3a.getBucketConfig(bucket) if errCode != s3err.ErrNone { - return fmt.Errorf("failed to get bucket config: %v", errCode) + return fmt.Errorf("failed to get bucket config: %s", errCode) } // Check if bucket has cached Object Lock configuration |
