Skip to content

Commit

Permalink
Fix transition xml name in lifecycleconfig (#1142)
Browse files Browse the repository at this point in the history
Fixes #1141

Signed-off-by: Bala.FA <[email protected]>
  • Loading branch information
balamurugana authored Oct 8, 2021
1 parent 3cbc38b commit 28b67c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minio/lifecycleconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def fromxml(cls, element):

def toxml(self, element):
"""Convert to XML."""
element = SubElement(element, "NoncurrentVersionTransition")
element = SubElement(element, "Transition")
super().toxml(element)
if self._storage_class:
SubElement(element, "StorageClass", self._storage_class)
Expand Down

0 comments on commit 28b67c4

Please sign in to comment.