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