mirror of https://github.com/k3s-io/k3s
Check to see if FLUENTD_GCP is defined before use
parent
fa4e186e54
commit
ed58d024ca
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue