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