Skip to content

Commit b0827b5

Browse files
committed
chore: fix windows build error
1 parent b421b33 commit b0827b5

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

pkg/mounter/safe_mounter_v1beta_windows.go

+4
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@ func (mounter *csiProxyMounterV1Beta) IsMountPointMatch(mp mount.MountPoint, dir
134134
return mp.Path == dir
135135
}
136136

137+
func (mounter *csiProxyMounterV1Beta) canSafelySkipMountPointCheck() bool {
138+
return false
139+
}
140+
137141
// IsLikelyMountPoint - If the directory does not exists, the function will return os.ErrNotExist error.
138142
// If the path exists, call to CSI proxy will check if its a link, if its a link then existence of target
139143
// path is checked.

pkg/mounter/safe_mounter_windows.go

+4
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ func (mounter *csiProxyMounter) IsMountPointMatch(mp mount.MountPoint, dir strin
156156
return mp.Path == dir
157157
}
158158

159+
func (mounter *csiProxyMounter) canSafelySkipMountPointCheck() bool {
160+
return false
161+
}
162+
159163
// IsLikelyMountPoint - If the directory does not exists, the function will return os.ErrNotExist error.
160164
// If the path exists, call to CSI proxy will check if its a link, if its a link then existence of target
161165
// path is checked.

0 commit comments

Comments
 (0)