Skip to content

Commit

Permalink
Merge pull request #31 from truenas/mrehan/fix-features-casing
Browse files Browse the repository at this point in the history
NAS-130046 / 24.10 / Fix apps schema features casing
  • Loading branch information
Qubad786 authored Jul 15, 2024
2 parents c439ef7 + 7744f52 commit fba5fa9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps_schema/features/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class DefinitionGPUConfigurationFeature(BaseFeature):

NAME = 'definitions/gpuConfiguration'
NAME = 'definitions/gpu_configuration'
VALID_SCHEMAS = [DictSchema]


Expand Down
2 changes: 1 addition & 1 deletion apps_schema/features/certificate.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ class CertificateFeature(BaseFeature):

class CertificateAuthorityFeature(BaseFeature):

NAME = 'definitions/certificateAuthority'
NAME = 'definitions/certificate_authority'
VALID_SCHEMAS = [IntegerSchema]
2 changes: 1 addition & 1 deletion apps_schema/features/container_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion apps_schema/features/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


class NormalizeInterfaceConfiguration(BaseFeature):
NAME = 'normalize/interfaceConfiguration'
NAME = 'normalize/interface_configuration'
VALID_SCHEMAS = [DictSchema]


Expand Down
4 changes: 2 additions & 2 deletions apps_schema/features/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

0 comments on commit fba5fa9

Please sign in to comment.