- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for validateTransitionTier (0.1 sec)
-
cmd/bucket-lifecycle-handlers.go
if err = bucketLifecycle.Validate(rcfg); err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } // Validate the transition storage ARNs if err = validateTransitionTier(bucketLifecycle); err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } // Create a map of updated set of rules in request
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 7K bytes - Viewed (0) -
cmd/bucket-lifecycle_test.go
for i, tc := range testCases { lc, err := lifecycle.ParseLifecycleConfig(bytes.NewReader(tc.xml)) if err != nil { t.Fatalf("Test %d: Failed to parse lifecycle config %v", i+1, err) } err = validateTransitionTier(lc) if err != tc.expectedErr { t.Fatalf("Test %d: Expected %v but got %v", i+1, tc.expectedErr, err) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 31 09:57:57 UTC 2022 - 7K bytes - Viewed (0)