Skip to content

Commit

Permalink
Fix driver UT
Browse files Browse the repository at this point in the history
  • Loading branch information
AkshaySainiDell committed Dec 20, 2024
1 parent dc98c2d commit 0d79b9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/drivers/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,6 @@ func csmWithTolerations(driver csmv1.DriverType, version string) csmv1.Container
func csmForPowerFlex(customCSMName string) csmv1.ContainerStorageModule {
res := shared.MakeCSM(customCSMName, pFlexNS, shared.PFlexConfigVersion)

// Add driver common image
res.Spec.Driver.Common.Image = "driverimage"

// Add sdc initcontainer
res.Spec.Driver.InitContainers = []csmv1.ContainerTemplate{{
Name: "sdc",
Expand Down Expand Up @@ -158,6 +155,9 @@ func csmForPowerFlex(customCSMName string) csmv1.ContainerStorageModule {
res.Spec.Driver.Common.Envs = append(res.Spec.Driver.Common.Envs, corev1.EnvVar{Name: "INTERFACE_NAMES", Value: "worker1: \"interface1\",worker2: \"interface2\""})
}

// Add driver common image
res.Spec.Driver.Common.Image = "driverimage"

return res
}

Expand Down

0 comments on commit 0d79b9f

Please sign in to comment.