Explorar o código

Merge pull request #35 from liangxia/master

suppress error unbound variable
Thomas Wiest %!s(int64=10) %!d(string=hai) anos
pai
achega
2848232bda
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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