mirror of
https://github.com/kubernetes-csi/csi-driver-nvmf.git
synced 2025-09-09 17:09:07 +00:00
Fix some problems
1.fix path error in deploy/kubernetes/csi-nvmf-node.yaml 2.delete glog from the code 3.check vol uuid param before attach nvmf volume
This commit is contained in:
@@ -61,7 +61,7 @@ func getNVMfDiskInfo(req *csi.NodePublishVolumeRequest) (*nvmfDiskInfo, error) {
|
||||
deviceUUID := volOpts["deviceUUID"]
|
||||
nqn := volOpts["nqn"]
|
||||
|
||||
if targetTrAddr == "" || nqn == "" || targetTrPort == "" || targetTrType == "" {
|
||||
if targetTrAddr == "" || nqn == "" || targetTrPort == "" || targetTrType == "" || deviceUUID == "" {
|
||||
return nil, fmt.Errorf("Some Nvme target info is missing, volID: %s ", volName)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user