Skip to content

Commit

Permalink
Merge pull request #295 from vshn/fix-typo-stackgres
Browse files Browse the repository at this point in the history
Fix typo in stackgres resource
  • Loading branch information
zugao authored Jan 14, 2025
2 parents 4c18672 + cf4011e commit 20102f5
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 60 deletions.
2 changes: 1 addition & 1 deletion apis/helm/release/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type NamespacedName struct {

// DataKeySelector defines required spec to access a key of a configmap or secret
type DataKeySelector struct {
NamespacedName `json:",inline,omitempty"`
NamespacedName `json:",inline"`
Key string `json:"key,omitempty"`
Optional bool `json:"optional,omitempty"`
}
Expand Down
4 changes: 2 additions & 2 deletions apis/stackgres/v1/groupversion_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ func init() {
&SGCluster{},
&SGClusterList{},
&SGPostgresConfig{},
&SGPostgesConfigList{},
&SGPostgresConfigList{},
&SGPoolingConfigList{},
&SGPoolingConfig{},
&SGInstanceProfile{},
&SGPInstanceProfileList{},
&SGInstanceProfileList{},
)
}
2 changes: 1 addition & 1 deletion apis/stackgres/v1/sginstanceprofile.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type SGInstanceProfile struct {

// +kubebuilder:object:root=true

type SGPInstanceProfileList struct {
type SGInstanceProfileList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`

Expand Down
2 changes: 1 addition & 1 deletion apis/stackgres/v1/sgpostresconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type SGPostgresConfig struct {

// +kubebuilder:object:root=true

type SGPostgesConfigList struct {
type SGPostgresConfigList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`

Expand Down
110 changes: 55 additions & 55 deletions apis/stackgres/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 20102f5

Please sign in to comment.