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 {
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