mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Fixing a typo.
This commit is contained in:
parent
cc61e7f638
commit
4cb86e5f3d
@ -2517,7 +2517,7 @@ def _linux_iqn():
|
||||
if os.path.isfile(initiator):
|
||||
with salt.utils.files.fopen(initiator, 'r') as _iscsi:
|
||||
for line in _iscsi:
|
||||
if line.starswith('InitiatorName='):
|
||||
if line.startswith('InitiatorName='):
|
||||
iqn = line.split('=')
|
||||
final_iqn = iqn[1].rstrip()
|
||||
ret.extend([final_iqn])
|
||||
|
Loading…
Reference in New Issue
Block a user