Default ENABLE_CLUSTER_MONITORING to false

Otherwise kube-down fails because the variable is not defined
This commit is contained in:
Justin Santa Barbara 2014-11-27 18:07:00 -08:00
parent 7eceafa656
commit 0b05068f40

View File

@ -106,14 +106,14 @@ function ensure-temp-dir {
} }
function setup-monitoring { function setup-monitoring {
if [[ "${ENABLE_CLUSTER_MONITORING}" == "true" ]]; then if [[ "${ENABLE_CLUSTER_MONITORING:-false}" == "true" ]]; then
# TODO: Implement this. # TODO: Implement this.
echo "Monitoring not currently supported on AWS" echo "Monitoring not currently supported on AWS"
fi fi
} }
function teardown-monitoring { function teardown-monitoring {
if [[ "${ENABLE_CLUSTER_MONITORING}" == "true" ]]; then if [[ "${ENABLE_CLUSTER_MONITORING:-false}" == "true" ]]; then
# TODO: Implement this. # TODO: Implement this.
echo "Monitoring not currently supported on AWS" echo "Monitoring not currently supported on AWS"
fi fi