mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
fixed syntax errors
This commit is contained in:
parent
b8ce68e180
commit
e0b72395c5
@ -1643,7 +1643,7 @@ def rescanAllHba(name, call=None):
|
||||
"name",
|
||||
]
|
||||
|
||||
host_list = _get_mors_with_properties(vim.HostSystem, host_properties)
|
||||
host_list = _get_mors_with_properties(vim.HostSystem, host_properties)
|
||||
|
||||
for host in host_list:
|
||||
if host["name"] == name:
|
||||
@ -1653,4 +1653,4 @@ host_list = _get_mors_with_properties(vim.HostSystem, host_properties)
|
||||
except Exception as exc:
|
||||
log.error('Could not rescan HBA\'s on host {0}: {1}'.format(name, exc))
|
||||
return 'failed to rescan HBA\'s'
|
||||
return 'rescanned HBA\'s'
|
||||
return 'rescanned HBA\'s'
|
||||
|
Loading…
Reference in New Issue
Block a user