Merge notifier opts

The notifier group are duplicated when defining options. This is not
affecting functionality but make the code less readable. Let's merge
these tow using itertools as is done for other groups.

Change-Id: Icd8389c771363235062807c31a866d2960726ec6
This commit is contained in:
Takashi Kajinami 2021-04-23 22:48:48 +09:00
parent ce0954c8e7
commit 0b01d7b728
1 changed files with 2 additions and 2 deletions

View File

@ -53,10 +53,10 @@ def list_opts():
('evaluator', aodh.service.EVALUATOR_OPTS),
('listener', itertools.chain(aodh.service.LISTENER_OPTS,
aodh.event.OPTS)),
('notifier', aodh.service.NOTIFIER_OPTS),
('notifier', itertools.chain(aodh.notifier.OPTS,
aodh.service.NOTIFIER_OPTS)),
('service_credentials', aodh.keystone_client.OPTS),
('service_types', aodh.notifier.zaqar.SERVICE_OPTS),
('notifier', aodh.notifier.OPTS),
]