Use VolumeContext
This commit is contained in:
parent
d0d7f1ee3d
commit
7844509790
@ -55,9 +55,7 @@ func (ns *NodeServer) NodePublishVolume(ctx context.Context, req *csi.NodePublis
|
||||
mo = append(mo, "ro")
|
||||
}
|
||||
|
||||
volParameters := req.GetPublishContext()
|
||||
|
||||
glog.V(0).Infof("Parameters: %s", volParameters)
|
||||
volParameters := req.GetVolumeContext()
|
||||
|
||||
mounter, err := newMounter(volumeID, ns.Driver, volParameters)
|
||||
if err != nil {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user