mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 23:37:01 +00:00
Merge pull request #35566 from rootfs/fix-mount
Automatic merge from submit-queue add IsNotMountPoint() to mount_unsupported.go fix the cross build issue
This commit is contained in:
commit
20270531c2
@ -57,3 +57,7 @@ func (mounter *SafeFormatAndMount) formatAndMount(source string, target string,
|
|||||||
func (mounter *SafeFormatAndMount) diskLooksUnformatted(disk string) (bool, error) {
|
func (mounter *SafeFormatAndMount) diskLooksUnformatted(disk string) (bool, error) {
|
||||||
return true, nil
|
return true, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func IsNotMountPoint(file string) (bool, error) {
|
||||||
|
return true, nil
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user