summaryrefslogtreecommitdiffstats
path: root/utils/src
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2015-11-03 09:51:10 -0400
committerDevan Goodwin <dgoodwin@redhat.com>2015-11-03 09:51:10 -0400
commitab83e16dbed3eb5cf1dff96992509439d2739550 (patch)
treeaf557bc4444312bab32280db6f3bd63a424c1611 /utils/src
parentec31736606fc280de641e8909f03416c6b74e004 (diff)
downloadopenshift-ab83e16dbed3eb5cf1dff96992509439d2739550.tar.gz
openshift-ab83e16dbed3eb5cf1dff96992509439d2739550.tar.bz2
openshift-ab83e16dbed3eb5cf1dff96992509439d2739550.tar.xz
openshift-ab83e16dbed3eb5cf1dff96992509439d2739550.zip
Fix installer upgrade bug following pylint fix.
Diffstat (limited to 'utils/src')
-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 21e50de6d..2fc7a872f 100644
--- a/utils/src/ooinstall/cli_installer.py
+++ b/utils/src/ooinstall/cli_installer.py
@@ -474,7 +474,7 @@ def upgrade(ctx):
old_version = oo_cfg.settings['variant_version']
if oo_cfg.settings['variant'] == 'enterprise':
oo_cfg.settings['variant'] = 'openshift-enterprise'
- version = find_variant(oo_cfg.settings['variant'])[0]
+ version = find_variant(oo_cfg.settings['variant'])[1]
oo_cfg.settings['variant_version'] = version.name
click.echo("Openshift will be upgraded from %s %s to %s %s on the following hosts:\n" % (
old_variant, old_version, oo_cfg.settings['variant'],