Pārlūkot izejas kodu

suppress error unbound variable

liangxia 10 gadi atpakaļ
vecāks
revīzija
edc60164ea
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      cluster.sh

+ 1 - 1
cluster.sh

@@ -4,7 +4,7 @@ MINIONS=3
 MASTERS=1
 
 # If the environment variable OO_PROVDER is defined, it used for the provider
-PROVIDER=$OO_PROVIDER
+PROVIDER=${OO_PROVIDER:-''}
 # Otherwise, default is gce (Google Compute Engine)
 if [ "x$PROVIDER" == "x" ];then
    PROVIDER=gce