Fixes compatibility with jsonschema >= 4.16.0
Jsonschema has changed the type of a parameter from a simple tuple to a pyrsistent map object. Since we were passing in the defaults anyway, this patch removes those parameters from the jsonschema call. This makes designate compatible with jsonschema >= 4.16.0. Closes-Bug: #1992677 Change-Id: I9cc94506a63371ad78b204030e5e87339982e9e7
This commit is contained in:
parent
6fee42ecac
commit
d6eabef4de
@ -24,7 +24,7 @@ LOG = logging.getLogger(__name__)
|
||||
|
||||
class LocalResolver(jsonschema.RefResolver):
|
||||
def __init__(self, base_uri, referrer):
|
||||
super(LocalResolver, self).__init__(base_uri, referrer, (), True)
|
||||
super(LocalResolver, self).__init__(base_uri, referrer)
|
||||
self.api_version = None
|
||||
|
||||
@classmethod
|
||||
|
@ -0,0 +1,4 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixed designate compatibility with jsonschema >= 4.16.0.
|
Loading…
Reference in New Issue
Block a user