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:
parent
282e1a5d9e
commit
6edaa8d4d6
|
@ -30,7 +30,6 @@ class Configuration:
|
||||||
try:
|
try:
|
||||||
deckhand_eng = layering.DocumentLayering(
|
deckhand_eng = layering.DocumentLayering(
|
||||||
documents,
|
documents,
|
||||||
substitution_sources=documents,
|
|
||||||
fail_on_missing_sub_src=not allow_missing_substitutions)
|
fail_on_missing_sub_src=not allow_missing_substitutions)
|
||||||
documents = [dict(d) for d in deckhand_eng.render()]
|
documents = [dict(d) for d in deckhand_eng.render()]
|
||||||
except dh_errors.DeckhandException as e:
|
except dh_errors.DeckhandException as e:
|
||||||
|
|
Loading…
Reference in New Issue