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:
parent
ea2fb8b972
commit
48c774c648
@ -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'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user