From cc913f91ef12506d8cbde7f16a5907e6cd0f6257 Mon Sep 17 00:00:00 2001 From: Malay Kumar Parida Date: Wed, 29 Jan 2025 06:38:06 +0000 Subject: [PATCH] Fix go fmt issue, somehow CI missed it on the earlier PR Signed-off-by: Malay Kumar Parida --- .../storagecluster/cephcluster_test.go | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/controllers/storagecluster/cephcluster_test.go b/controllers/storagecluster/cephcluster_test.go index 71fed4d9ec..76010ae9eb 100644 --- a/controllers/storagecluster/cephcluster_test.go +++ b/controllers/storagecluster/cephcluster_test.go @@ -539,29 +539,29 @@ func TestStorageClassDeviceSetCreation(t *testing.T) { sc3.Spec.LabelSelector = &emptyLabelSelector cases := []struct { - label string - sc *ocsv1.StorageCluster - topologyKey string + label string + sc *ocsv1.StorageCluster + topologyKey string }{ { - label: "case 1", - sc: sc1, - topologyKey: "zone", + label: "case 1", + sc: sc1, + topologyKey: "zone", }, { - label: "case 2", - sc: sc2, - topologyKey: "zone", + label: "case 2", + sc: sc2, + topologyKey: "zone", }, { - label: "case 3", - sc: sc3, - topologyKey: "zone", + label: "case 3", + sc: sc3, + topologyKey: "zone", }, { - label: "case 4", - sc: sc4, - topologyKey: "rack", + label: "case 4", + sc: sc4, + topologyKey: "rack", }, } @@ -593,7 +593,7 @@ func TestStorageClassDeviceSetCreation(t *testing.T) { } else { assert.DeepEqual(t, getPlacement(c.sc, "osd"), scds.Placement) } - + topologyKey := scds.PreparePlacement.TopologySpreadConstraints[0].TopologyKey if c.topologyKey == "rack" {