Skip to content

Commit

Permalink
add IsNotMountPoint() to mount_unsupported.go
Browse files Browse the repository at this point in the history
Signed-off-by: Huamin Chen <hchen@redhat.com>
  • Loading branch information
rootfs committed Oct 26, 2016
1 parent b23798d commit 758e8b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/util/mount/mount_unsupported.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,7 @@ func (mounter *SafeFormatAndMount) formatAndMount(source string, target string,
func (mounter *SafeFormatAndMount) diskLooksUnformatted(disk string) (bool, error) {
return true, nil
}

func IsNotMountPoint(file string) (bool, error) {
return true, nil
}

0 comments on commit 758e8b8

Please sign in to comment.