mirror of
https://github.com/minio/minio.git
synced 2025-11-22 02:35:30 -05:00
Simplify remote tier validation in lifecycle rule validation (#12329)
This commit is contained in:
committed by
GitHub
parent
2ca9c533ef
commit
cfa94cc35c
@@ -129,7 +129,7 @@ func (t *Transition) UnmarshalXML(d *xml.Decoder, startElement xml.StartElement)
|
||||
return nil
|
||||
}
|
||||
|
||||
// Validate - validates the "Expiration" element
|
||||
// Validate - validates the "Transition" element
|
||||
func (t Transition) Validate() error {
|
||||
if !t.set {
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user