mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Fixed except statement
This commit is contained in:
parent
ee0dcd7b67
commit
cbefa4d3fd
@ -258,7 +258,7 @@ def cluster_configured(name, cluster_config):
|
||||
'comment': '\n'.join(comments),
|
||||
'changes': changes})
|
||||
return ret
|
||||
except CommandExecutionError as exc:
|
||||
except salt.exceptions.CommandExecutionError as exc:
|
||||
log.error('Error: {0}\n{1}'.format(exc, traceback.format_exc()))
|
||||
if si:
|
||||
__salt__['vsphere.disconnect'](si)
|
||||
|
Loading…
Reference in New Issue
Block a user