Skip to content

Commit c1c68af

Browse files
committed
fix nad test helper to return valid json config
Signed-off-by: Martin Schuppert <[email protected]>
1 parent 619091d commit c1c68af

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)