From 83e9f279ef3534ca700206e6f61e5117bce748b8 Mon Sep 17 00:00:00 2001 From: r-dilip Date: Fri, 11 Oct 2019 15:27:42 -0700 Subject: [PATCH] Fix the WARN<->WARNING typo --- .../plugin/health/health_container_cpu_memory_aggregator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/code/plugin/health/health_container_cpu_memory_aggregator.rb b/source/code/plugin/health/health_container_cpu_memory_aggregator.rb index 6de146e3d..ef1016158 100644 --- a/source/code/plugin/health/health_container_cpu_memory_aggregator.rb +++ b/source/code/plugin/health/health_container_cpu_memory_aggregator.rb @@ -249,7 +249,7 @@ def calculate_container_instance_state(counter_value, limit, config) if percent_value > config['FailIfGreaterThanPercentage'] return HealthMonitorStates::FAIL elsif percent_value > config['WarnIfGreaterThanPercentage'] - return HealthMonitorStates::WARN + return HealthMonitorStates::WARNING else return HealthMonitorStates::PASS end