From 2b4c7156d0dd6820a6a207a0049506b6d0899645 Mon Sep 17 00:00:00 2001 From: Christian Schwede Date: Mon, 29 Jan 2024 17:52:24 +0100 Subject: [PATCH] Fix indentation --- api/v1beta1/swiftproxy_types.go | 4 ++-- api/v1beta1/swiftstorage_types.go | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api/v1beta1/swiftproxy_types.go b/api/v1beta1/swiftproxy_types.go index 5c1b20df..64ec4419 100644 --- a/api/v1beta1/swiftproxy_types.go +++ b/api/v1beta1/swiftproxy_types.go @@ -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"` } @@ -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"` } diff --git a/api/v1beta1/swiftstorage_types.go b/api/v1beta1/swiftstorage_types.go index 5919c210..7756fe0d 100644 --- a/api/v1beta1/swiftstorage_types.go +++ b/api/v1beta1/swiftstorage_types.go @@ -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"` } @@ -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"` }