armada delete --manifest failed
This PS fixes the bug when delete releases with --manifest option. Manifest object need the list type of document. Story: 2003040 Task: 23074 Change-Id: If1b68dabbe5da0c1137440f649f02a06b0a42a44
This commit is contained in:
parent
def8704c5f
commit
67f14fb780
|
@ -113,7 +113,7 @@ class DeleteChartManifest(CliAction):
|
|||
target_releases = []
|
||||
|
||||
with open(self.manifest) as f:
|
||||
documents = yaml.safe_load_all(f.read())
|
||||
documents = list(yaml.safe_load_all(f.read()))
|
||||
try:
|
||||
armada_obj = Manifest(documents).get_manifest()
|
||||
prefix = armada_obj.get(const.KEYWORD_ARMADA).get(
|
||||
|
|
Loading…
Reference in New Issue