Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in stackgres resource #295

Merged
merged 1 commit into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this change?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this was automatically removed after I ran make generate. Somebody forgot to run it?

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.

Loading