Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwede committed Jan 29, 2024
1 parent 82333df commit 2b4c715
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions api/v1beta1/swiftproxy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ type SwiftProxySpec struct {
// Override, provides the ability to override the generated manifest of several child resources.
Override ProxyOverrideSpec `json:"override,omitempty"`

// +kubebuilder:validation:Optional
// +kubebuilder:validation:Optional
// NetworkAttachments is a list of NetworkAttachment resource names to expose the services to the given network
NetworkAttachments []string `json:"networkAttachments,omitempty"`
}
Expand All @@ -93,7 +93,7 @@ type SwiftProxyStatus struct {
// Conditions
Conditions condition.Conditions `json:"conditions,omitempty" optional:"true"`

// NetworkAttachments status of the deployment pods
// NetworkAttachments status of the deployment pods
NetworkAttachments map[string][]string `json:"networkAttachments,omitempty"`
}

Expand Down
6 changes: 3 additions & 3 deletions api/v1beta1/swiftstorage_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ type SwiftStorageSpec struct {
// Name of Secret containing swift.conf
SwiftConfSecret string `json:"swiftConfSecret"`

// +kubebuilder:validation:Optional
// +kubebuilder:validation:Optional
// NetworkAttachments is a list of NetworkAttachment resource names to expose the services to the given network
NetworkAttachments []string `json:"networkAttachments,omitempty"`
}
Expand All @@ -76,10 +76,10 @@ type SwiftStorageStatus struct {
// ReadyCount of SwiftStorage instances
ReadyCount int32 `json:"readyCount,omitempty"`

// Conditions
// Conditions
Conditions condition.Conditions `json:"conditions,omitempty" optional:"true"`

// NetworkAttachments status of the deployment pods
// NetworkAttachments status of the deployment pods
NetworkAttachments map[string][]string `json:"networkAttachments,omitempty"`
}

Expand Down

0 comments on commit 2b4c715

Please sign in to comment.