mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2026-02-02 07:35:12 +01:00
chore(refactor): Remove MountInfo struct from api (#225)
Signed-off-by: Gagandeep Singh <codegagan@gmail.com>
This commit is contained in:
parent
55a155c4a5
commit
3da4f7308e
8 changed files with 32 additions and 104 deletions
|
|
@ -91,8 +91,8 @@ func NewNode(d *CSIDriver) csi.NodeServer {
|
|||
// GetVolAndMountInfo get volume and mount info from node csi volume request
|
||||
func GetVolAndMountInfo(
|
||||
req *csi.NodePublishVolumeRequest,
|
||||
) (*apis.ZFSVolume, *apis.MountInfo, error) {
|
||||
var mountinfo apis.MountInfo
|
||||
) (*apis.ZFSVolume, *zfs.MountInfo, error) {
|
||||
var mountinfo zfs.MountInfo
|
||||
|
||||
mountinfo.FSType = req.GetVolumeCapability().GetMount().GetFsType()
|
||||
mountinfo.MountPath = req.GetTargetPath()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue