Merge "armada delete --manifest failed"

This commit is contained in:
Zuul 2018-08-07 18:46:46 +00:00 committed by Gerrit Code Review
commit 4168360650
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ class DeleteChartManifest(CliAction):
target_releases = [] target_releases = []
with open(self.manifest) as f: with open(self.manifest) as f:
documents = yaml.safe_load_all(f.read()) documents = list(yaml.safe_load_all(f.read()))
try: try:
armada_obj = Manifest(documents).get_manifest() armada_obj = Manifest(documents).get_manifest()
prefix = armada_obj.get(const.KEYWORD_ARMADA).get( prefix = armada_obj.get(const.KEYWORD_ARMADA).get(