Procházet zdrojové kódy

Merge pull request #925 from smunilla/single_master

atomic-openshift-installer: Correct single master case
Brenton Leanhardt před 9 roky
rodič
revize
d421f5be5d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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:
         if not master_set:
             is_master = click.confirm('Will this host be an OpenShift Master?')
             is_master = click.confirm('Will this host be an OpenShift Master?')
             host_props['master'] = is_master
             host_props['master'] = is_master
-            master_set = True
+            master_set = is_master
         host_props['node'] = True
         host_props['node'] = True
 
 
         #TODO: Reenable this option once container installs are out of tech preview
         #TODO: Reenable this option once container installs are out of tech preview