mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fixed final lint error
This commit is contained in:
parent
5945b3f11f
commit
f509b4113e
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ def query_instance(vm_=None, call=None):
|
|||
|
||||
if isinstance(data, dict) and 'error' in data:
|
||||
log.warn(
|
||||
'There was an error in the query. {0}'.format(data['error'])
|
||||
'There was an error in the query. {0}'.format(data.get('error'))
|
||||
)
|
||||
# Trigger a failure in the wait for IP function
|
||||
return False
|
||||
|
|
Loading…
Add table
Reference in a new issue