Merge pull request #36152 from cachedout/issue_36094

Remove unnecessary unpack
This commit is contained in:
Mike Place 2016-09-09 18:13:46 +09:00 committed by GitHub
commit 24bd03734d

View file

@ -1941,7 +1941,6 @@ class Minion(MinionBase):
log.debug('Forwarding salt error event tag={tag}'.format(tag=tag))
self._fire_master(data, tag)
elif package.startswith('salt/auth/creds'):
tag, data = salt.utils.event.MinionEvent.unpack(package)
key = tuple(data['key'])
log.debug('Updating auth data for {0}: {1} -> {2}'.format(
key, salt.crypt.AsyncAuth.creds_map.get(key), data['creds']))