[BUG] pdbedit.create fails with cannot use a string pattern on a bytes-like object #62670
Labels
Bug
broken, incorrect, or confusing behavior
bytes-vs-strings
py2 vs py3 bytes vs strings encode/decode errors
needs-triage
Description
When using
pdbedit.create
it fails withPassed invalid arguments: cannot use a string pattern on a bytes-like object.
.Setup
Can be reproduced using the below Dockerfile:
This yields
Passed invalid arguments: cannot use a string pattern on a bytes-like object.
Steps to Reproduce the behavior
(Include debug logs if possible and relevant)
Expected behavior
Samba user should be created/ updated.
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: