changes force_lang from C.UTF-8 to auto in sdkmanager (as per discussion https://github.com/ansible-collections/community.general/pull/9236#discussion_r1881114326)

This commit is contained in:
Stanislav Shamilov 2024-12-12 22:22:08 +02:00
parent d367bd2b19
commit 619f28dd58

View file

@ -45,7 +45,7 @@ def sdkmanager_runner(module, **kwargs):
sdk_root=cmd_runner_fmt.as_opt_eq_val("--sdk_root"),
channel=cmd_runner_fmt.as_func(lambda x: ["{0}={1}".format("--channel", __map_channel(x))])
),
force_lang="C.UTF-8", # Without this, sdkmanager binary crashes
force_lang="auto", # Without this, sdkmanager binary crashes
**kwargs
)