Strategy goals should be required in conf

In the section "WATCHER_GOALS_OPTS" the dict option "goals"
is not mandatory. However it should be.

Change-Id: I2e0770cf7787fed449c012bc45462e3138992ebf
Closes-Bug: #1531116
This commit is contained in:
Gábor Antal 2016-01-05 14:12:06 +01:00 committed by Jean-Emile DARTOIS
parent 8ebc898924
commit 34ab93a5f2
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ WATCHER_GOALS_OPTS = [
cfg.DictOpt(
'goals',
default=default_goals,
required=True,
help='Goals used for the optimization. '
'Maps each goal to an associated strategy (for example: '
'BASIC_CONSOLIDATION:basic, MY_GOAL:my_strategy_1)'),