diff --git a/promenade/config.py b/promenade/config.py index b7a156fc..436a4803 100644 --- a/promenade/config.py +++ b/promenade/config.py @@ -37,12 +37,13 @@ class Configuration: raise exceptions.DeckhandException(str(e)) LOG.info("Deckhand engine returned %d documents." % len(documents)) - if validate: - validation.validate_all(documents) self.debug = debug self.documents = documents self.leave_kubectl = leave_kubectl + if validate: + validation.validate_all(self) + @classmethod def from_streams(cls, *, streams, **kwargs): documents = []