mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
survey runner bugfix
This commit is contained in:
parent
d28aa20c74
commit
ae03b70b19
1 changed files with 1 additions and 1 deletions
|
@ -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]).encode('utf-8')).hexdigest()
|
||||
digest = hashlib.sha256(str(minions[minion]).encode(__salt_system_encoding__)).hexdigest()
|
||||
if digest not in ret:
|
||||
ret[digest] = {}
|
||||
ret[digest]['pool'] = []
|
||||
|
|
Loading…
Add table
Reference in a new issue