Commit 3ae9604
🌱 (chore): clean up var declarations in grafana scaffolder and cronjob doc generator (kubernetes-sigs#4670)
style: clean up var declarations in grafana scaffolder and cronjob doc generator
Refactored `var` declarations to use short form where appropriate:
- Replaced `var templatesBuilder =` with `:=` in the Grafana scaffolder.
- Replaced `var fs =` with `:=` in the cronjob tutorial generator.
This improves code clarity and aligns with idiomatic Go style.
Co-authored-by: Camila Macedo <[email protected]>1 parent 539f449 commit 3ae9604
File tree
2 files changed
+2
-2
lines changed- hack/docs/internal/cronjob-tutorial
- pkg/plugins/optional/grafana/v1alpha/scaffolds
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
654 | 654 | | |
655 | 655 | | |
656 | 656 | | |
657 | | - | |
| 657 | + | |
658 | 658 | | |
659 | 659 | | |
660 | 660 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| |||
0 commit comments