diff --git a/pkg/azuredisk/fake_azuredisk.go b/pkg/azuredisk/fake_azuredisk.go index 170fee5432..b5097eb2a9 100644 --- a/pkg/azuredisk/fake_azuredisk.go +++ b/pkg/azuredisk/fake_azuredisk.go @@ -125,7 +125,7 @@ func newFakeDriverV1(ctrl *gomock.Controller) (*fakeDriverV1, error) { driver.diskController = NewManagedDiskController(driver.cloud) driver.clientFactory = driver.cloud.ComputeClientFactory - mounter, err := mounter.NewSafeMounter(driver.enableWindowsHostProcess, driver.useCSIProxyGAInterface) + mounter, err := mounter.NewSafeMounter(true, driver.useCSIProxyGAInterface) if err != nil { return nil, err } diff --git a/pkg/azuredisk/fake_azuredisk_v2.go b/pkg/azuredisk/fake_azuredisk_v2.go index edd32ed5da..93bb4409c8 100644 --- a/pkg/azuredisk/fake_azuredisk_v2.go +++ b/pkg/azuredisk/fake_azuredisk_v2.go @@ -74,7 +74,7 @@ func newFakeDriverV2(ctrl *gomock.Controller) (*fakeDriverV2, error) { driver.diskController = NewManagedDiskController(driver.cloud) driver.clientFactory = driver.cloud.ComputeClientFactory - mounter, err := mounter.NewSafeMounter(driver.enableWindowsHostProcess, driver.useCSIProxyGAInterface) + mounter, err := mounter.NewSafeMounter(true, driver.useCSIProxyGAInterface) if err != nil { return nil, err }