mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
survey runner bugfix
This commit is contained in:
parent
b6723030f8
commit
d28aa20c74
@ -171,7 +171,7 @@ def _get_pool_results(*args, **kwargs):
|
||||
|
||||
# hash minion return values as a string
|
||||
for minion in sorted(minions):
|
||||
digest = hashlib.sha256(str(minions[minion])).hexdigest()
|
||||
digest = hashlib.sha256(str(minions[minion]).encode('utf-8')).hexdigest()
|
||||
if digest not in ret:
|
||||
ret[digest] = {}
|
||||
ret[digest]['pool'] = []
|
||||
|
Loading…
Reference in New Issue
Block a user