Merge pull request #37 from humblec/patch-1

NFS driver: Change attribute on NodePublish() to reflect the examples.
This commit is contained in:
Chakravarthy Nelluri 2018-01-15 10:04:47 -05:00 committed by GitHub
commit dd6ff5a0c8

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("")