Merge pull request #1929 from satnam6502/salt

Check to see if FLUENTD_GCP is defined before use
pull/6/head
Brendan Burns 2014-10-21 12:49:45 -07:00
commit 23ce178574
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ function kube-up {
) > "${KUBE_TEMP}/master-start.sh" ) > "${KUBE_TEMP}/master-start.sh"
# For logging to GCP we need to enable some minion scopes. # For logging to GCP we need to enable some minion scopes.
if [ $FLUENTD_GCP == "true" ]; then if [ -n "$FLUENTD_GCP" ] && [ "$FLUENTD_GCP" = "true" ]; then
MINION_SCOPES="${MINION_SCOPES}, https://www.googleapis.com/auth/logging.write" MINION_SCOPES="${MINION_SCOPES}, https://www.googleapis.com/auth/logging.write"
fi fi