summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2015-11-03 09:51:47 -0400
committerDevan Goodwin <dgoodwin@redhat.com>2015-11-03 09:51:47 -0400
commitf23375161c40b29ef64d90ec4c44df5f571caee0 (patch)
tree3a20bed6151a17e67a919af44ee76441806e4cae
parentd608d84361a073b2f6c3c0ba08558027cf237890 (diff)
parentab83e16dbed3eb5cf1dff96992509439d2739550 (diff)
downloadopenshift-f23375161c40b29ef64d90ec4c44df5f571caee0.tar.gz
openshift-f23375161c40b29ef64d90ec4c44df5f571caee0.tar.bz2
openshift-f23375161c40b29ef64d90ec4c44df5f571caee0.tar.xz
openshift-f23375161c40b29ef64d90ec4c44df5f571caee0.zip
Merge branch 'upgrade' into config-upgrade
-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'],