From 7c43c40f8a9f50bff61cae1a32745e6a4c73b1a4 Mon Sep 17 00:00:00 2001 From: Michael Burman Date: Fri, 28 Jun 2024 12:12:18 +0300 Subject: [PATCH] Add missing } to the JSON patch --- tests/pvc_expansion/pvc_expansion_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pvc_expansion/pvc_expansion_test.go b/tests/pvc_expansion/pvc_expansion_test.go index 5f36a14c..7e302102 100644 --- a/tests/pvc_expansion/pvc_expansion_test.go +++ b/tests/pvc_expansion/pvc_expansion_test.go @@ -80,7 +80,7 @@ var _ = Describe(testName, func() { Expect(existingPvSize).To(Equal("1Gi"), "Expected PV size to be 2Gi but got %s", existingPvSize) step = "patch CassandraDatacenter to increase the StorageConfig size" - patch := fmt.Sprintf(`{"spec":{"storageConfig":{"cassandraDataVolumeClaimSpec":{"resources":{"requests":{"storage":"%s"}}}}}`, "2Gi") + patch := fmt.Sprintf(`{"spec":{"storageConfig":{"cassandraDataVolumeClaimSpec":{"resources":{"requests":{"storage":"%s"}}}}}}`, "2Gi") k = kubectl.PatchMerge(dcResource, patch) ns.ExecAndLog(step, k)