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:
DaeSeong Kim 2018-07-26 01:28:03 -07:00
parent def8704c5f
commit 67f14fb780
1 changed files with 1 additions and 1 deletions

View File

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