Remove the duplicate code
Change-Id: I1b0695f843f2dc41e12d74ee74ced67e4a95f609
This commit is contained in:
parent
79629c346e
commit
ad60b0b3d5
@ -154,9 +154,6 @@ class NVMeOF(driver.Target):
|
|||||||
if transport == 'rdma':
|
if transport == 'rdma':
|
||||||
transport = 'RoCEv2'
|
transport = 'RoCEv2'
|
||||||
|
|
||||||
if transport == 'rdma':
|
|
||||||
transport = 'RoCEv2'
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'target_nqn': nqn,
|
'target_nqn': nqn,
|
||||||
'vol_uuid': uuid,
|
'vol_uuid': uuid,
|
||||||
|
Loading…
Reference in New Issue
Block a user