Commit 6e24819
Fix Salt decode error (#636)
* Fix #398 `salt` backend returning non-encoded strings
`salt` backend failed because local satl client returns
`stdout` and `stderr` as `str` objects not encoded `bytes`.
Taking a lead from the `ansible` implementation the `stdout` and
`stderr` results are both encoded and returned as `kwargs` through
`base.result` method.
Co-authored-by: Mark Bools <[email protected]>1 parent 78bfa6c commit 6e24819
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
40 | 47 | | |
41 | 48 | | |
42 | 49 | | |
| |||
0 commit comments