Merge "armada Remove duplicate validation calls during an armada apply"

This commit is contained in:
Zuul 2018-08-10 20:16:39 +00:00 committed by Gerrit Code Review
commit e81f1a03f6
1 changed files with 0 additions and 7 deletions

View File

@ -139,13 +139,6 @@ class Armada(object):
raise validate_exceptions.InvalidManifestException(
error_messages=details)
# TODO(MarshM): this is duplicated inside validate_armada_documents()
# L126, and should be unreachable code if it has errors
result, msg_list = validate.validate_armada_manifests(self.documents)
if not result:
raise validate_exceptions.InvalidArmadaObjectException(
details=','.join([m.get('message') for m in msg_list]))
# Clone the chart sources
repos = {}
manifest_data = self.manifest.get(const.KEYWORD_ARMADA, {})