Fix: validate_all needs config object, not docs
Change-Id: Ibf1de5762d59b311fe8fc27b951f11009ce98eb9
This commit is contained in:
parent
dc82a90b83
commit
9f0cc79ec5
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue