NFS driver: Change attribute on NodePublish() to reflect the examples.

This commit is contained in:
Humble Devassy Chirammal 2018-01-15 20:28:19 +05:30 committed by GitHub
parent 1cd34f82d1
commit 650cb5b1f5

View File

@ -59,7 +59,7 @@ func (ns *nodeServer) NodePublishVolume(ctx context.Context, req *csi.NodePublis
}
s := req.GetVolumeAttributes()["server"]
ep := req.GetVolumeAttributes()["exportPath"]
ep := req.GetVolumeAttributes()["share"]
source := fmt.Sprintf("%s:%s", s, ep)
mounter := mount.New("")