Skip to content

Commit

Permalink
Version must be quoted (otherwise it is printed as 2.1) (#42496)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein authored and mattclay committed Jul 17, 2018
1 parent c3f2e46 commit 27e57e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/modules/web_infrastructure/acme_certificate.py
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ def main():
supports_check_mode=True,
)
if module._name == 'letsencrypt':
module.deprecate("The 'letsencrypt' module is being renamed 'acme_certificate'", version=2.10)
module.deprecate("The 'letsencrypt' module is being renamed 'acme_certificate'", version='2.10')

# AnsibleModule() changes the locale, so change it back to C because we rely on time.strptime() when parsing certificate dates.
module.run_command_environ_update = dict(LANG='C', LC_ALL='C', LC_MESSAGES='C', LC_CTYPE='C')
Expand Down

0 comments on commit 27e57e4

Please sign in to comment.