diff options
| author | chrislu <chris.lu@gmail.com> | 2025-07-19 00:42:43 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-07-19 00:42:43 -0700 |
| commit | 11fb65571fbc4dc744ad990495fece71116e3c5b (patch) | |
| tree | 63bf9dbaca6c604a48098b71c049c768a2293bd8 /weed/s3api/s3api_object_handlers_retention.go | |
| parent | 6c2a11f1d698860c851a5365e89a7ae5bfbdfa63 (diff) | |
| download | seaweedfs-11fb65571fbc4dc744ad990495fece71116e3c5b.tar.xz seaweedfs-11fb65571fbc4dc744ad990495fece71116e3c5b.zip | |
refactor
Diffstat (limited to 'weed/s3api/s3api_object_handlers_retention.go')
| -rw-r--r-- | weed/s3api/s3api_object_handlers_retention.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/s3api/s3api_object_handlers_retention.go b/weed/s3api/s3api_object_handlers_retention.go index 899c2453c..5695be25d 100644 --- a/weed/s3api/s3api_object_handlers_retention.go +++ b/weed/s3api/s3api_object_handlers_retention.go @@ -37,7 +37,7 @@ func (s3a *S3ApiServer) PutObjectRetentionHandler(w http.ResponseWriter, r *http } // Validate retention configuration - if err := validateRetention(retention); err != nil { + if err := ValidateRetention(retention); err != nil { glog.Errorf("PutObjectRetentionHandler: invalid retention config: %v", err) s3err.WriteErrorResponse(w, r, mapValidationErrorToS3Error(err)) return |
