mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fixed final lint error
This commit is contained in:
parent
5945b3f11f
commit
f509b4113e
@ -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…
Reference in New Issue
Block a user