From 7744f5215cb6d0b97a16e2bc7523a167988814cd Mon Sep 17 00:00:00 2001 From: "M. Rehan" Date: Mon, 15 Jul 2024 14:17:46 +0500 Subject: [PATCH] Fix apps schema features casing --- apps_schema/features/basic.py | 2 +- apps_schema/features/certificate.py | 2 +- apps_schema/features/container_image.py | 2 +- apps_schema/features/interface.py | 2 +- apps_schema/features/node.py | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps_schema/features/basic.py b/apps_schema/features/basic.py index 0fa5593..3a31df5 100644 --- a/apps_schema/features/basic.py +++ b/apps_schema/features/basic.py @@ -5,7 +5,7 @@ class DefinitionGPUConfigurationFeature(BaseFeature): - NAME = 'definitions/gpuConfiguration' + NAME = 'definitions/gpu_configuration' VALID_SCHEMAS = [DictSchema] diff --git a/apps_schema/features/certificate.py b/apps_schema/features/certificate.py index e39940e..d06e407 100644 --- a/apps_schema/features/certificate.py +++ b/apps_schema/features/certificate.py @@ -11,5 +11,5 @@ class CertificateFeature(BaseFeature): class CertificateAuthorityFeature(BaseFeature): - NAME = 'definitions/certificateAuthority' + NAME = 'definitions/certificate_authority' VALID_SCHEMAS = [IntegerSchema] diff --git a/apps_schema/features/container_image.py b/apps_schema/features/container_image.py index 8b08160..2f17687 100644 --- a/apps_schema/features/container_image.py +++ b/apps_schema/features/container_image.py @@ -5,7 +5,7 @@ class ContainerImageFeature(BaseFeature): - NAME = 'validations/containerImage' + NAME = 'validations/container_image' VALID_SCHEMAS = [DictSchema] def _validate(self, verrors, schema_obj, schema_str): diff --git a/apps_schema/features/interface.py b/apps_schema/features/interface.py index a01694c..56f61a8 100644 --- a/apps_schema/features/interface.py +++ b/apps_schema/features/interface.py @@ -4,7 +4,7 @@ class NormalizeInterfaceConfiguration(BaseFeature): - NAME = 'normalize/interfaceConfiguration' + NAME = 'normalize/interface_configuration' VALID_SCHEMAS = [DictSchema] diff --git a/apps_schema/features/node.py b/apps_schema/features/node.py index 0aad319..d556442 100644 --- a/apps_schema/features/node.py +++ b/apps_schema/features/node.py @@ -5,11 +5,11 @@ class DefinitionNodeIPFeature(BaseFeature): - NAME = 'definitions/nodeIP' + NAME = 'definitions/node_ip' VALID_SCHEMAS = [StringSchema] class ValidationNodePortFeature(BaseFeature): - NAME = 'validations/nodePort' + NAME = 'validations/node_port' VALID_SCHEMAS = [IntegerSchema]