Fixing a typo.

This commit is contained in:
Gareth J. Greenaway 2017-09-30 16:59:48 -07:00
parent cc61e7f638
commit 4cb86e5f3d
No known key found for this signature in database
GPG Key ID: 10B62F8A7CAD7A41

View File

@ -2517,7 +2517,7 @@ def _linux_iqn():
if os.path.isfile(initiator): if os.path.isfile(initiator):
with salt.utils.files.fopen(initiator, 'r') as _iscsi: with salt.utils.files.fopen(initiator, 'r') as _iscsi:
for line in _iscsi: for line in _iscsi:
if line.starswith('InitiatorName='): if line.startswith('InitiatorName='):
iqn = line.split('=') iqn = line.split('=')
final_iqn = iqn[1].rstrip() final_iqn = iqn[1].rstrip()
ret.extend([final_iqn]) ret.extend([final_iqn])