From af3a1c9a9c2dde539f97794ee89d718aeaf95bd0 Mon Sep 17 00:00:00 2001 From: Huamin Chen Date: Mon, 20 Nov 2017 15:27:55 +0000 Subject: [PATCH] switch to mount access type per conversation with @chakri Signed-off-by: Huamin Chen --- pkg/controller/controller.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/controller/controller.go b/pkg/controller/controller.go index f48d056983..84340f5154 100644 --- a/pkg/controller/controller.go +++ b/pkg/controller/controller.go @@ -60,8 +60,8 @@ var ( accessMode = &csi.VolumeCapability_AccessMode{ Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER, } - accessType = &csi.VolumeCapability_Block{ - Block: &csi.VolumeCapability_BlockVolume{}, + accessType = &csi.VolumeCapability_Mount{ + Mount: &csi.VolumeCapability_MountVolume{}, } // Each provisioner have a identify string to distinguish with others. This // identify string will be added in PV annoations under this key.