From feae665093daf0e0c0d7ef345548116167bc2c1b Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Wed, 30 Nov 2016 17:54:41 +0100 Subject: [PATCH] UPSTREAM: 30724: Add GetDeviceNameFromMount in mount_unsupported.go --- vendor/k8s.io/kubernetes/pkg/util/mount/mount_unsupported.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vendor/k8s.io/kubernetes/pkg/util/mount/mount_unsupported.go b/vendor/k8s.io/kubernetes/pkg/util/mount/mount_unsupported.go index 8942c003635b..f85557e6f211 100644 --- a/vendor/k8s.io/kubernetes/pkg/util/mount/mount_unsupported.go +++ b/vendor/k8s.io/kubernetes/pkg/util/mount/mount_unsupported.go @@ -36,6 +36,10 @@ func (mounter *Mounter) IsLikelyNotMountPoint(file string) (bool, error) { return true, nil } +func (mounter *Mounter) GetDeviceNameFromMount(mountPath, pluginDir string) (string, error) { + return "", nil +} + func (mounter *SafeFormatAndMount) formatAndMount(source string, target string, fstype string, options []string) error { return nil }