summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Munilla <smunilla@redhat.com>2015-12-17 11:09:02 -0500
committerSamuel Munilla <smunilla@redhat.com>2015-12-17 11:09:02 -0500
commit501d72b5007c058ad29fbbc849bc6a76a638dc58 (patch)
tree1be4220dd38967858a3b056983351aacd735964b
parent95e962a459590ff913196f4e54f0eeafd8a9876e (diff)
downloadopenshift-501d72b5007c058ad29fbbc849bc6a76a638dc58.tar.gz
openshift-501d72b5007c058ad29fbbc849bc6a76a638dc58.tar.bz2
openshift-501d72b5007c058ad29fbbc849bc6a76a638dc58.tar.xz
openshift-501d72b5007c058ad29fbbc849bc6a76a638dc58.zip
atomic-openshift-installer: Fix broken nosetest
This is a fix for the failing test_fresh_install_with_config.
-rw-r--r--utils/src/ooinstall/cli_installer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/src/ooinstall/cli_installer.py b/utils/src/ooinstall/cli_installer.py
index cf57ecaec..c86ba2f4f 100644
--- a/utils/src/ooinstall/cli_installer.py
+++ b/utils/src/ooinstall/cli_installer.py
@@ -752,7 +752,7 @@ def install(ctx, force):
check_hosts_config(oo_cfg, ctx.obj['unattended'])
- print_installation_summary(oo_cfg.hosts, oo_cfg.settings['variant_version'])
+ print_installation_summary(oo_cfg.hosts, oo_cfg.settings.get('variant_version', None))
click.echo('Gathering information from hosts...')
callback_facts, error = openshift_ansible.default_facts(oo_cfg.hosts,
verbose)