Merge "Remove deprecation warning by setting schema" into stable/2023.2
This commit is contained in:
commit
91a3f439a0
@ -30,7 +30,7 @@ from ironic.drivers.modules.redfish import utils as redfish_utils
|
|||||||
LOG = log.getLogger(__name__)
|
LOG = log.getLogger(__name__)
|
||||||
|
|
||||||
_UPDATE_FIRMWARE_SCHEMA = {
|
_UPDATE_FIRMWARE_SCHEMA = {
|
||||||
"$schema": "http://json-schema.org/schema#",
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||||
"title": "update_firmware clean step schema",
|
"title": "update_firmware clean step schema",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
# list of firmware update images
|
# list of firmware update images
|
||||||
|
8
releasenotes/notes/2061160-5e080a17ae31fb53.yaml
Normal file
8
releasenotes/notes/2061160-5e080a17ae31fb53.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes an issue with units tests that show this DeprecationWarning:
|
||||||
|
The metaschema specified by $schema was not found. Using the latest
|
||||||
|
draft to validate, but this will raise an error in the future.
|
||||||
|
cls = validator_for(schema)
|
||||||
|
Removed the warning for deprecated schema by using a new template.
|
Loading…
Reference in New Issue
Block a user