mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #46116 from rallytime/utils-paths
Update stringutils path in reg state to use new location
This commit is contained in:
commit
1f31031adc
@ -193,7 +193,7 @@ def present(name,
|
||||
return ret
|
||||
|
||||
try:
|
||||
vdata_decoded = salt.utils.to_unicode(vdata, 'utf-8')
|
||||
vdata_decoded = salt.utils.stringutils.to_unicode(vdata, 'utf-8')
|
||||
except UnicodeDecodeError:
|
||||
# vdata contains binary data that can't be decoded
|
||||
vdata_decoded = vdata
|
||||
|
Loading…
Reference in New Issue
Block a user