From 78ebd8bfb9afdfed7145fe468bf6a011e84f6f53 Mon Sep 17 00:00:00 2001 From: Raphael Date: Tue, 17 Oct 2023 16:05:20 +0200 Subject: [PATCH] minor case change even if json unmarshalling in golang with the standard libs is case unsensitive regarding the keys Signed-off-by: Raphael --- plugins/meta/bandwidth/bandwidth_config_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/meta/bandwidth/bandwidth_config_test.go b/plugins/meta/bandwidth/bandwidth_config_test.go index 9b8399563..5a9c1dd3d 100644 --- a/plugins/meta/bandwidth/bandwidth_config_test.go +++ b/plugins/meta/bandwidth/bandwidth_config_test.go @@ -175,7 +175,7 @@ var _ = Describe("bandwidth config test", func() { })).To(Succeed()) }) - It(fmt.Sprintf("[%s] fails with both ShapedSubnets and UnShapedSubnets specified", ver), func() { + It(fmt.Sprintf("[%s] fails with both ShapedSubnets and UnshapedSubnets specified", ver), func() { conf := fmt.Sprintf(`{ "cniVersion": "%s", "name": "cni-plugin-bandwidth-test", @@ -184,8 +184,8 @@ var _ = Describe("bandwidth config test", func() { "ingressBurst": 123, "egressRate": 123, "egressBurst": 123, - "ShapedSubnets": ["10.0.0.0/8"], - "UnShapedSubnets": ["192.168.0.0/16"], + "shapedSubnets": ["10.0.0.0/8"], + "unshapedSubnets": ["192.168.0.0/16"], "prevResult": { "interfaces": [ {