Merge "Force LUN_ID to an int"
This commit is contained in:
commit
0e692e19bc
@ -436,6 +436,8 @@ class LinuxSCSI(executor.Executor):
|
|||||||
return processed
|
return processed
|
||||||
|
|
||||||
def _format_lun_id(self, lun_id):
|
def _format_lun_id(self, lun_id):
|
||||||
|
# make sure lun_id is an int
|
||||||
|
lun_id = int(lun_id)
|
||||||
if lun_id < 256:
|
if lun_id < 256:
|
||||||
return lun_id
|
return lun_id
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user