Skip to content

Commit 4440c06

Browse files
committed
address comment
1 parent c1c739b commit 4440c06

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

internal/configs/configmaps_test.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,8 +346,10 @@ func TestParseMGMTConfigMapWarnings(t *testing.T) {
346346

347347
for _, test := range tests {
348348
t.Run(test.msg, func(t *testing.T) {
349-
_, configWarnings, _ := ParseMGMTConfigMap(context.Background(), test.configMap, makeEventLogger())
350-
349+
_, configWarnings, err := ParseMGMTConfigMap(context.Background(), test.configMap, makeEventLogger())
350+
if err != nil {
351+
t.Errorf("expected nil, got err: %v", err)
352+
}
351353
if !configWarnings {
352354
t.Fatal("Expected warnings, got none")
353355
}

0 commit comments

Comments
 (0)