mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix error parsing
This commit is contained in:
parent
6a9704189f
commit
6750ccd78e
1 changed files with 1 additions and 1 deletions
|
@ -1208,7 +1208,7 @@ def _error_detail(data, item):
|
|||
'''
|
||||
err = item['errorDetail']
|
||||
if 'code' in err:
|
||||
msg = '{1}: {2}'.format(
|
||||
msg = '{0}: {1}'.format(
|
||||
item['errorDetail']['code'],
|
||||
item['errorDetail']['message'],
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue