Support v2 schema versions

Previously only v1 were supported, but Armada recently added [0]
v2 schemas, so this is needed to support those.

[0]: https://airship-armada.readthedocs.io/en/latest/operations/documents/v2/index.html

Change-Id: Ib460205c1e9ae7e7360308b8b51f162221c63982
This commit is contained in:
Sean Eagan 2019-06-20 14:05:40 -05:00
parent ea2fb8b972
commit 48c774c648
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ from deckhand import types
LOG = logging.getLogger(__name__)
_DEFAULT_SCHEMAS = {}
_SUPPORTED_SCHEMA_VERSIONS = ('v1',)
_SUPPORTED_SCHEMA_VERSIONS = ('v1', 'v2')
def _get_schema_parts(document, schema_key='schema'):