Skip to content

Commit ff1fd2d

Browse files
authored
Merge pull request #581 from stuggi/fix_nad_test_helper
[test helper] fix nad test helper to return valid json config
2 parents 619091d + c1c68af commit ff1fd2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/common/test/helpers/networkattachmentdefinition.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func (tc *TestHelper) CreateNetworkAttachmentDefinition(name types.NamespacedNam
3636
Namespace: name.Namespace,
3737
},
3838
Spec: networkv1.NetworkAttachmentDefinitionSpec{
39-
Config: "",
39+
Config: `{}`,
4040
},
4141
}
4242
gomega.Expect(tc.K8sClient.Create(tc.Ctx, instance)).Should(gomega.Succeed())

0 commit comments

Comments
 (0)