Abstract ismountpoint and use platform mounter for NFS volume
This commit is contained in:
@@ -18,8 +18,12 @@ limitations under the License.
|
||||
|
||||
package empty_dir
|
||||
|
||||
import "github.com/GoogleCloudPlatform/kubernetes/pkg/util/mount"
|
||||
|
||||
// realMountDetector pretends to implement mediumer.
|
||||
type realMountDetector struct{}
|
||||
type realMountDetector struct {
|
||||
mounter mount.Interface
|
||||
}
|
||||
|
||||
func (m *realMountDetector) GetMountMedium(path string) (storageMedium, bool, error) {
|
||||
return mediumUnknown, false, nil
|
||||
|
Reference in New Issue
Block a user