Commit 758e8b8b authored by Huamin Chen's avatar Huamin Chen

add IsNotMountPoint() to mount_unsupported.go

Signed-off-by: 's avatarHuamin Chen <hchen@redhat.com>
parent b23798d4
...@@ -57,3 +57,7 @@ func (mounter *SafeFormatAndMount) formatAndMount(source string, target string, ...@@ -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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment