mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Test fix: file strings must be unicode in master config
This commit is contained in:
parent
bee4948df1
commit
f90fd8c663
1 changed files with 3 additions and 1 deletions
|
@ -3883,7 +3883,9 @@ def apply_master_config(overrides=None, defaults=None):
|
|||
if overrides:
|
||||
opts.update(overrides)
|
||||
|
||||
opts['__cli'] = os.path.basename(sys.argv[0])
|
||||
opts['__cli'] = salt.utils.stringutils.to_unicode(
|
||||
os.path.basename(sys.argv[0])
|
||||
)
|
||||
|
||||
if 'environment' in opts:
|
||||
if opts['saltenv'] is not None:
|
||||
|
|
Loading…
Add table
Reference in a new issue