mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
If it's not a dict
, it should not be treated like one.
This commit is contained in:
parent
a358885829
commit
33c77d1723
@ -361,7 +361,7 @@ class State(object):
|
||||
errors.append(err)
|
||||
if not isinstance(body, dict):
|
||||
err = ('The type {0} in {1} is not formated as a dictionary'
|
||||
.format(name, body['__sls__']))
|
||||
.format(name, body))
|
||||
errors.append(err)
|
||||
continue
|
||||
for state in body:
|
||||
|
Loading…
Reference in New Issue
Block a user