Remove substitution_sources from Deckhand layering

This patch set removes substitution_sources kwarg from the
Deckhand layering call as it is deprecated [0] because
all concrete documents will simply be used by default as the
substitution source documents.

[0] 1583b78902/deckhand/engine/layering.py (L480)

Change-Id: I934c8d5e7f2fa2a84dcdba592bd515f889337f79
This commit is contained in:
Felipe Monteiro 2018-07-21 15:43:05 -04:00
parent 282e1a5d9e
commit 6edaa8d4d6
1 changed files with 0 additions and 1 deletions

View File

@ -30,7 +30,6 @@ class Configuration:
try:
deckhand_eng = layering.DocumentLayering(
documents,
substitution_sources=documents,
fail_on_missing_sub_src=not allow_missing_substitutions)
documents = [dict(d) for d in deckhand_eng.render()]
except dh_errors.DeckhandException as e: