From 0b05068f4023d8afd5a9b597966f2285cbec1c7c Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Thu, 27 Nov 2014 18:07:00 -0800 Subject: [PATCH] Default ENABLE_CLUSTER_MONITORING to false Otherwise kube-down fails because the variable is not defined --- cluster/aws/util.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cluster/aws/util.sh b/cluster/aws/util.sh index c69a967a4fc..650c4ad352a 100644 --- a/cluster/aws/util.sh +++ b/cluster/aws/util.sh @@ -106,14 +106,14 @@ function ensure-temp-dir { } function setup-monitoring { - if [[ "${ENABLE_CLUSTER_MONITORING}" == "true" ]]; then + if [[ "${ENABLE_CLUSTER_MONITORING:-false}" == "true" ]]; then # TODO: Implement this. echo "Monitoring not currently supported on AWS" fi } function teardown-monitoring { - if [[ "${ENABLE_CLUSTER_MONITORING}" == "true" ]]; then + if [[ "${ENABLE_CLUSTER_MONITORING:-false}" == "true" ]]; then # TODO: Implement this. echo "Monitoring not currently supported on AWS" fi