Remove unnecessary unpack

This was causing msgpack stacktraces everywhere because it would effectively try to unpack an empty msg.

Closes #36094
This commit is contained in:
Mike Place 2016-09-08 23:51:07 +09:00
parent 70da628018
commit 95eb95a0f8

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']))