From 65bf52b28c691fc8c70cd4c9461d0aa9b3ac301f Mon Sep 17 00:00:00 2001 From: Neo2308 Date: Tue, 18 Jun 2024 13:31:11 +0530 Subject: [PATCH] Fix inconsistent spacing in markers * Updated spacing in markers to be consistent ("//+" -> "// +") --- docs/tutorial.md | 2 +- pkg/reconciler/reconciler.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorial.md b/docs/tutorial.md index fd8ccf29..5e252f92 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -119,7 +119,7 @@ type MemcachedBackupSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file - //+kubebuilder:validation:Minimum=0 + // +kubebuilder:validation:Minimum=0 // Size is the size of the memcached deployment Size int32 `json:"size"` } diff --git a/pkg/reconciler/reconciler.go b/pkg/reconciler/reconciler.go index a72df23d..33b84b5d 100644 --- a/pkg/reconciler/reconciler.go +++ b/pkg/reconciler/reconciler.go @@ -282,7 +282,7 @@ func SkipDependentWatches(skip bool) Option { // Example for using a custom type for the GVK scheme instead of unstructured.Unstructured: // // // Define custom type for GVK scheme. -// //+kubebuilder:object:root=true +// // +kubebuilder:object:root=true // type Custom struct { // // [...] // }