File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -718,14 +718,16 @@ func (s *service) NodePublishVolume(
718718
719719 var symlinkPath string
720720 var devicePath string
721- if s .useNVMeTCP || s .arrayTransportProtocolMap [symID ] == NvmeTCPTransportProtocol {
721+ if s .useNVMeTCP {
722+ log .Infof ("Inside NVMETCP" )
722723 symlinkPath , devicePath , err = gofsutil .WWNToDevicePathX (context .Background (), vol .NGUID )
723724 if err != nil || symlinkPath == "" {
724725 errmsg := fmt .Sprintf ("Device path not found for WWN %s: %s" , deviceWWN , err )
725726 log .Error (errmsg )
726727 return nil , status .Error (codes .NotFound , errmsg )
727728 }
728729 } else {
730+ log .Infof ("Not Inside NVMETCP" )
729731 symlinkPath , devicePath , err = gofsutil .WWNToDevicePathX (context .Background (), deviceWWN )
730732 if err != nil || symlinkPath == "" {
731733 errmsg := fmt .Sprintf ("Device path not found for WWN %s: %s" , deviceWWN , err )
You can’t perform that action at this time.
0 commit comments