Skip to content

Commit e33e7ea

Browse files
author
Joshua Reed
committed
Standardize json tagging naming conventions.
1 parent d932f81 commit e33e7ea

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

api/v1beta2/cloudstackfailuredomain_types.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,9 @@ type CloudStackFailureDomainSpec struct {
8181
// CloudStack domain.
8282
// +optional
8383
Domain string `json:"domain,omitempty"`
84+
8485
// Apache CloudStack Endpoint secret reference.
85-
ACSEndpoint corev1.SecretReference `json:"acsendpoint"`
86+
ACSEndpoint corev1.SecretReference `json:"acsEndpoint"`
8687
}
8788

8889
// CloudStackFailureDomainStatus defines the observed state of CloudStackFailureDomain

api/v1beta2/cloudstackmachine_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ type CloudStackMachineSpec struct {
6363

6464
// Optional affinitygroupids for deployVirtualMachine
6565
// +optional
66-
AffinityGroupIDs []string `json:"affinitygroupids,omitempty"`
66+
AffinityGroupIDs []string `json:"affinityGroupIDs,omitempty"`
6767

6868
// Mutually exclusive parameter with AffinityGroupIDs.
6969
// Defaults to `no`. Can be `pro` or `anti`. Will create an affinity group per machine set.
@@ -73,7 +73,7 @@ type CloudStackMachineSpec struct {
7373
// Mutually exclusive parameter with AffinityGroupIDs.
7474
// Is a reference to a CloudStack affinity group CRD.
7575
// +optional
76-
AffinityGroupRef *corev1.ObjectReference `json:"cloudstackaffinityref,omitempty"`
76+
AffinityGroupRef *corev1.ObjectReference `json:"cloudstackAffinityRef,omitempty"`
7777

7878
// The CS specific unique identifier. Of the form: fmt.Sprintf("cloudstack:///%s", CS Machine ID)
7979
// +optional

0 commit comments

Comments
 (0)