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_retention_test.go | |
| parent | 6c2a11f1d698860c851a5365e89a7ae5bfbdfa63 (diff) | |
| download | seaweedfs-11fb65571fbc4dc744ad990495fece71116e3c5b.tar.xz seaweedfs-11fb65571fbc4dc744ad990495fece71116e3c5b.zip | |
refactor
Diffstat (limited to 'weed/s3api/s3api_object_retention_test.go')
| -rw-r--r-- | weed/s3api/s3api_object_retention_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/weed/s3api/s3api_object_retention_test.go b/weed/s3api/s3api_object_retention_test.go index 638d37d14..3e263ec2d 100644 --- a/weed/s3api/s3api_object_retention_test.go +++ b/weed/s3api/s3api_object_retention_test.go @@ -80,7 +80,7 @@ func TestValidateRetention(t *testing.T) { for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { - err := validateRetention(tt.retention) + err := ValidateRetention(tt.retention) if tt.expectError { if err == nil { @@ -154,7 +154,7 @@ func TestValidateLegalHold(t *testing.T) { for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { - err := validateLegalHold(tt.legalHold) + err := ValidateLegalHold(tt.legalHold) if tt.expectError { if err == nil { @@ -631,7 +631,7 @@ func TestValidateObjectLockConfiguration(t *testing.T) { for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { - err := validateObjectLockConfiguration(tt.config) + err := ValidateObjectLockConfiguration(tt.config) if tt.expectError { if err == nil { @@ -716,7 +716,7 @@ func TestValidateDefaultRetention(t *testing.T) { for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { - err := validateDefaultRetention(tt.retention) + err := ValidateDefaultRetention(tt.retention) if tt.expectError { if err == nil { |
