Skip to content

Commit

Permalink
Add missing interface method in mount_unsupported.go
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciopoppe committed Aug 12, 2021
1 parent 3c3b6d5 commit 9e5ac6a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions staging/src/k8s.io/mount-utils/mount_unsupported.go
Expand Up @@ -53,6 +53,11 @@ func (mounter *Mounter) MountSensitiveWithoutSystemd(source string, target strin
return errUnsupported
}

// MountSensitiveWithoutSystemdWithMountFlags always returns an error on unsupported platforms
func (mounter *Mounter) MountSensitiveWithoutSystemdWithMountFlags(source string, target string, fstype string, options []string, sensitiveOptions []string, mountFlags []string) error {
return errUnsupported
}

// Unmount always returns an error on unsupported platforms
func (mounter *Mounter) Unmount(target string) error {
return errUnsupported
Expand Down

0 comments on commit 9e5ac6a

Please sign in to comment.