From d229c5ba51b0004e1fe5e115b09ba82322bf3400 Mon Sep 17 00:00:00 2001 From: Steve Reed Date: Tue, 2 Dec 2014 10:29:10 -0800 Subject: [PATCH] Proper appending of logging.write scope to array --- cluster/gce/util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/gce/util.sh b/cluster/gce/util.sh index 061ed0a585..21f4d3efec 100755 --- a/cluster/gce/util.sh +++ b/cluster/gce/util.sh @@ -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