feat: add rdma support

Signed-off-by: Meinhard Zhou <zhouenhua@bytedance.com>
This commit is contained in:
Meinhard Zhou
2023-11-21 20:43:13 +08:00
parent 998801c53d
commit b002568227
6 changed files with 13 additions and 18 deletions

View File

@@ -62,7 +62,7 @@ func getNVMfDiskInfo(req *csi.NodePublishVolumeRequest) (*nvmfDiskInfo, error) {
nqn := volOpts["nqn"]
if targetTrAddr == "" || nqn == "" || targetTrPort == "" || targetTrType == "" || deviceUUID == "" {
return nil, fmt.Errorf("Some Nvme target info is missing, volID: %s ", volName)
return nil, fmt.Errorf("some nvme target info is missing, volID: %s ", volName)
}
return &nvmfDiskInfo{