From ec1fe2dc8fe7d0bbcf05b7b79dc0e4142c2afec3 Mon Sep 17 00:00:00 2001 From: Yury Kulazhenkov Date: Tue, 30 Apr 2024 12:02:09 +0300 Subject: [PATCH] Fix tests for api package Signed-off-by: Yury Kulazhenkov --- api/v1/testdata/TestIBRendering/simpleib.golden | 2 +- api/v1/testdata/TestRendering/chained.golden | 2 +- api/v1/testdata/TestRendering/simple.golden | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/v1/testdata/TestIBRendering/simpleib.golden b/api/v1/testdata/TestIBRendering/simpleib.golden index 747dd5253..c88d26c35 100644 --- a/api/v1/testdata/TestIBRendering/simpleib.golden +++ b/api/v1/testdata/TestIBRendering/simpleib.golden @@ -9,6 +9,6 @@ "namespace": "testnamespace" }, "spec": { - "config": "{ \"cniVersion\":\"0.3.1\", \"name\":\"\",\"type\":\"ib-sriov\",\"capabilities\":foo,\"ipam\":{} }" + "config": "{ \"cniVersion\":\"1.0.0\", \"name\":\"\",\"type\":\"ib-sriov\",\"capabilities\":foo,\"ipam\":{} }" } } diff --git a/api/v1/testdata/TestRendering/chained.golden b/api/v1/testdata/TestRendering/chained.golden index 3d1c2be4a..156acf88b 100644 --- a/api/v1/testdata/TestRendering/chained.golden +++ b/api/v1/testdata/TestRendering/chained.golden @@ -9,6 +9,6 @@ "namespace": "testnamespace" }, "spec": { - "config": "{ \"cniVersion\":\"0.3.1\", \"name\":\"\",\"plugins\": [ {\"type\":\"sriov\",\"vlan\":0,\"vlanQoS\":0,\"ipam\":{} },\n{ \"type\": \"vrf\", \"vrfname\": \"blue\" }\n] }" + "config": "{ \"cniVersion\":\"1.0.0\", \"name\":\"\",\"plugins\": [ {\"type\":\"sriov\",\"vlan\":0,\"vlanQoS\":0,\"ipam\":{} },\n{ \"type\": \"vrf\", \"vrfname\": \"blue\" }\n] }" } } diff --git a/api/v1/testdata/TestRendering/simple.golden b/api/v1/testdata/TestRendering/simple.golden index b8f94bcc4..3eb98bbb3 100644 --- a/api/v1/testdata/TestRendering/simple.golden +++ b/api/v1/testdata/TestRendering/simple.golden @@ -9,6 +9,6 @@ "namespace": "testnamespace" }, "spec": { - "config": "{ \"cniVersion\":\"0.3.1\", \"name\":\"\",\"type\":\"sriov\",\"vlan\":0,\"vlanQoS\":0,\"ipam\":{} }" + "config": "{ \"cniVersion\":\"1.0.0\", \"name\":\"\",\"type\":\"sriov\",\"vlan\":0,\"vlanQoS\":0,\"ipam\":{} }" } }