chore: fix pre-existing gofmt and markdown lint issues
Markdown lint in CI now checks nested docs, which it previously skipped because the `**/*.md` glob was expanded by the shell without globstar.
This commit is contained in:
@@ -41,11 +41,11 @@ func TestGetLowestNodeVersion(t *testing.T) {
|
||||
}
|
||||
|
||||
cases := []struct {
|
||||
name string
|
||||
nodes []*corev1.Node
|
||||
selector string
|
||||
want string
|
||||
wantErr string
|
||||
name string
|
||||
nodes []*corev1.Node
|
||||
selector string
|
||||
want string
|
||||
wantErr string
|
||||
}{
|
||||
{
|
||||
name: "single control-plane node returns its kubelet version",
|
||||
|
||||
@@ -88,7 +88,7 @@ func TestMigrateChartPropertiesToMapFormatPreservesExistingNonOverlappingKeys(t
|
||||
setupChartMigrationTest(t)
|
||||
|
||||
Expect(common.PropertyMapWrite("scheduler-k3s", "--global", "chart-overrides.cert-manager", map[string]string{
|
||||
"installCRDs": "true",
|
||||
"installCRDs": "true",
|
||||
"service.annotations.prometheus.io/scrape": "true",
|
||||
})).To(Succeed())
|
||||
Expect(common.PropertyWrite("scheduler-k3s", "--global", "chart.cert-manager.installCRDs", "false")).To(Succeed())
|
||||
@@ -99,9 +99,9 @@ func TestMigrateChartPropertiesToMapFormatPreservesExistingNonOverlappingKeys(t
|
||||
got, err := common.PropertyMapGet("scheduler-k3s", "--global", "chart-overrides.cert-manager")
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
Expect(got).To(Equal(map[string]string{
|
||||
"installCRDs": "false",
|
||||
"installCRDs": "false",
|
||||
"service.annotations.prometheus.io/scrape": "true",
|
||||
"version": "1.13.3",
|
||||
"version": "1.13.3",
|
||||
}))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user