From 517f1d083ecee4ac6849b3bf81d1f474715e40cc Mon Sep 17 00:00:00 2001 From: David TARDIVEL Date: Tue, 12 Jul 2016 15:32:29 +0200 Subject: [PATCH] Bad goal and strategy name for Airflow Optimization The goal name 'airflow optimization' must be synched with the entry point name. The strategy name 'uniform airflow' must be synched with the entry point name. Partial-Bug: #1602262 Change-Id: Ibc6f0a7c5047e57549910818200c323b878152b0 --- watcher/decision_engine/goal/goals.py | 2 +- watcher/decision_engine/strategy/strategies/uniform_airflow.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/watcher/decision_engine/goal/goals.py b/watcher/decision_engine/goal/goals.py index 55a40e728..4ce9dbda3 100644 --- a/watcher/decision_engine/goal/goals.py +++ b/watcher/decision_engine/goal/goals.py @@ -148,7 +148,7 @@ class AirflowOptimization(base.Goal): @classmethod def get_name(cls): - return "airflow optimization" + return "airflow_optimization" @classmethod def get_display_name(cls): diff --git a/watcher/decision_engine/strategy/strategies/uniform_airflow.py b/watcher/decision_engine/strategy/strategies/uniform_airflow.py index c5c5cd61b..95ab9de99 100644 --- a/watcher/decision_engine/strategy/strategies/uniform_airflow.py +++ b/watcher/decision_engine/strategy/strategies/uniform_airflow.py @@ -106,7 +106,7 @@ class UniformAirflow(base.BaseStrategy): @classmethod def get_name(cls): - return "uniform airflow" + return "uniform_airflow" @classmethod def get_display_name(cls):