Fix service_available opt registration

and extra comma

Change-Id: Ia634cf9f69454d79f0ca133edeeefbe3afcd5aa7
This commit is contained in:
Serge Kovaleff 2016-03-25 16:09:56 +02:00
parent cb1ca87d3f
commit 774aabc238
2 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ from oslo_config import cfg
service_option = cfg.BoolOpt('zaqar',
default=True,
help="Whether or not Zaqar is expected to be "
"available"),
"available")
messaging_group = cfg.OptGroup(name='messaging',
title='Messaging Service')

View File

@ -32,8 +32,8 @@ class ZaqarTempestPlugin(plugins.TempestPlugin):
def register_opts(self, conf):
conf.register_group(zaqar_config.messaging_group)
conf.register_opts(zaqar_config.MessagingGroup, group='messaging')
conf.register_opts(zaqar_config.service_option,
group='service_available')
conf.register_opt(zaqar_config.service_option,
group='service_available')
def get_opt_lists(self):
return [('messaging', zaqar_config.MessagingGroup),