Check to see if FLUENTD_GCP is defined before use

pull/6/head
Satnam Singh 2014-10-21 12:18:42 -07:00
parent fa4e186e54
commit ed58d024ca
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ function kube-up {
) > "${KUBE_TEMP}/master-start.sh"
# 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"
fi