You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🌱 (chore): group const declarations into blocks for clarity (#4669)
style: group const declarations into blocks for clarity
Refactored standalone `const` declarations into grouped blocks in
`kustomization_conversion_updater.go` and `generate_getting_started.go`
to improve readability and align with Go style conventions.
Copy file name to clipboardExpand all lines: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/kdefault/kustomization_conversion_updater.go
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -23,8 +23,10 @@ import (
23
23
"sigs.k8s.io/kubebuilder/v4/pkg/machinery"
24
24
)
25
25
26
-
constcaNamespace="crdkustomizecainjectionns"
27
-
constcaName="crdkustomizecainjectionname"
26
+
const (
27
+
caNamespace="crdkustomizecainjectionns"
28
+
caName="crdkustomizecainjectionname"
29
+
)
28
30
29
31
// KustomizationCAConversionUpdater appends CA injection targets for CRDs with --conversion
0 commit comments