Skip to content

Commit

Permalink
Add missing } to the JSON patch
Browse files Browse the repository at this point in the history
  • Loading branch information
burmanm committed Jun 28, 2024
1 parent 9eaec35 commit 7c43c40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pvc_expansion/pvc_expansion_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 7c43c40

Please sign in to comment.