Skip to content

Commit

Permalink
Fix go fmt issue, somehow CI missed it on the earlier PR
Browse files Browse the repository at this point in the history
Signed-off-by: Malay Kumar Parida <[email protected]>
  • Loading branch information
malayparida2000 authored and openshift-cherrypick-robot committed Jan 29, 2025
1 parent bea4116 commit cbf357c
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions controllers/storagecluster/cephcluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
}

Expand Down Expand Up @@ -592,7 +592,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" {
Expand Down

0 comments on commit cbf357c

Please sign in to comment.