Skip to content

Commit

Permalink
Merge pull request #2132 from kubernetes-sigs/file-run-ut-with-hp-ena…
Browse files Browse the repository at this point in the history
…bled

test: run windows ut with host process enabled
  • Loading branch information
andyzhangx authored Oct 13, 2024
2 parents 3adba10 + 75792d7 commit 414bc07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/azurefile/fake_mounter.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (f *fakeMounter) IsMountPoint(file string) (bool, error) {
// NewFakeMounter fake mounter
func NewFakeMounter() (*mount.SafeFormatAndMount, error) {
if runtime.GOOS == "windows" {
return mounter.NewSafeMounter(false)
return mounter.NewSafeMounter(true)
}
return &mount.SafeFormatAndMount{
Interface: &fakeMounter{},
Expand Down

0 comments on commit 414bc07

Please sign in to comment.