Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix parsing on older versions of salt
On older versions of salt, the message body is already a string which causes the .([]byte) type assertion to fail. This catches that failure than then tries an .(string) assertion to handle both cases.
- Loading branch information