Proper appending of logging.write scope to array

This commit is contained in:
Steve Reed 2014-12-02 10:29:10 -08:00
parent 20a0d79bf4
commit d229c5ba51

View File

@ -297,7 +297,7 @@ function kube-up {
echo "+++ Logging using Fluentd to ${LOGGING_DESTINATION:-unknown}"
# For logging to GCP we need to enable some minion scopes.
if [[ "${LOGGING_DESTINATION-}" == "gcp" ]]; 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