mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-07 06:34:25 -07:00
Fix typos, enhance formatting, limit line length to 120
This commit is contained in:
parent
4786a40f9d
commit
cadc8438dc
7 changed files with 22 additions and 16 deletions
|
@ -55,7 +55,7 @@ def mysql_connect(module, login_user=None, login_password=None, config_file='',
|
|||
except Exception as e:
|
||||
module.fail_json(msg="Failed to parse %s: %s" % (config_file, to_native(e)))
|
||||
|
||||
# Override some commond defaults with values from config file if needed
|
||||
# Override some common defaults with values from config file if needed
|
||||
if cp and cp.has_section('client'):
|
||||
try:
|
||||
module.params['login_host'] = cp.get('client', 'host', fallback=module.params['login_host'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue