Explorar o código

atomic-openshift-installer: Fix broken nosetest

This is a fix for the failing test_fresh_install_with_config.
Samuel Munilla %!s(int64=9) %!d(string=hai) anos
pai
achega
501d72b500
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      utils/src/ooinstall/cli_installer.py

+ 1 - 1
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)