Simplify remote tier validation in lifecycle rule validation (#12329)

This commit is contained in:
Krishnan Parthasarathi
2021-05-19 18:51:23 -07:00
committed by GitHub
parent 2ca9c533ef
commit cfa94cc35c
5 changed files with 46 additions and 23 deletions

View File

@@ -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