Explorar o código

atomic-openshift-installer: Correct single master case

Correct the case where the first host entered is not a master.
Samuel Munilla %!s(int64=9) %!d(string=hai) anos
pai
achega
11b3651e62
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

@@ -111,7 +111,7 @@ http://docs.openshift.com/enterprise/latest/architecture/infrastructure_componen
         if not master_set:
             is_master = click.confirm('Will this host be an OpenShift Master?')
             host_props['master'] = is_master
-            master_set = True
+            master_set = is_master
         host_props['node'] = True
 
         #TODO: Reenable this option once container installs are out of tech preview