From ba45d8a248acfee4a1d4d1e3edbc3e13f0c70a20 Mon Sep 17 00:00:00 2001 From: Jonathan Hanson Date: Mon, 26 Nov 2018 20:15:20 -0800 Subject: [PATCH] Fix type in ansible-galaxy info output (#49096) Changed from 'intalled_version' to 'installed_version' (cherry picked from commit 12a573a7db45e5b8cd514dd3df43361053e6f7d4) --- changelogs/fragments/49096-ansible-galaxy-fix_info_typo.yaml | 2 ++ lib/ansible/cli/galaxy.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/49096-ansible-galaxy-fix_info_typo.yaml diff --git a/changelogs/fragments/49096-ansible-galaxy-fix_info_typo.yaml b/changelogs/fragments/49096-ansible-galaxy-fix_info_typo.yaml new file mode 100644 index 00000000000..429107c576a --- /dev/null +++ b/changelogs/fragments/49096-ansible-galaxy-fix_info_typo.yaml @@ -0,0 +1,2 @@ +minor_changes: +- Fixed typo in ansible-galaxy info command. diff --git a/lib/ansible/cli/galaxy.py b/lib/ansible/cli/galaxy.py index afe912b2d8b..631f368592c 100644 --- a/lib/ansible/cli/galaxy.py +++ b/lib/ansible/cli/galaxy.py @@ -286,7 +286,7 @@ class GalaxyCLI(CLI): install_info = gr.install_info if install_info: if 'version' in install_info: - install_info['intalled_version'] = install_info['version'] + install_info['installed_version'] = install_info['version'] del install_info['version'] role_info.update(install_info)