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

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

No files matched your search

+1 -1
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