Fix the addition of the logging.write scope to the MINION_SCOPES array

This commit is contained in:
Satnam Singh
2014-12-01 13:45:25 -08:00
parent ffcbe2fa10
commit c2348052b0

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+=('https://www.googleapis.com/auth/logging.write')
fi
fi