- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for validateTransitionTier (0.15 sec)
-
cmd/admin-bucket-handlers.go
if err = bucketLifecycle.Validate(rcfg); err != nil { rpt.SetStatus(bucket, fileName, err) continue } // Validate the transition storage ARNs if err = validateTransitionTier(bucketLifecycle); err != nil { rpt.SetStatus(bucket, fileName, err) continue } configData, err := xml.Marshal(bucketLifecycle) if err != nil { rpt.SetStatus(bucket, fileName, err)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 28 15:32:18 UTC 2024 - 33.2K bytes - Viewed (0) -
cmd/bucket-lifecycle.go
t.numWorkers++ } for t.numWorkers > n { go func() { t.killCh <- struct{}{} }() t.numWorkers-- } } var errInvalidStorageClass = errors.New("invalid storage class") func validateTransitionTier(lc *lifecycle.Lifecycle) error { for _, rule := range lc.Rules { if rule.Transition.StorageClass != "" { if valid := globalTierConfigMgr.IsTierValid(rule.Transition.StorageClass); !valid {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Oct 23 15:35:37 UTC 2024 - 33.7K bytes - Viewed (0)