Use PublishContext instead

This commit is contained in:
Daniel Santos 2021-01-20 15:40:34 -07:00
parent 4274180f3d
commit 9e3c2ce6e2
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ func (ns *NodeServer) NodePublishVolume(ctx context.Context, req *csi.NodePublis
mo = append(mo, "ro")
}
volParameters := req.GetVolumeContext()
volParameters := req.GetPublishContext()
mounter, err := newMounter(volumeID, ns.Driver, volParameters)
if err != nil {