Merge "Fix service_available opt registration and extra comma"
This commit is contained in:
commit
917badeaff
@ -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')
|
||||
|
@ -35,8 +35,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),
|
||||
|
Loading…
Reference in New Issue
Block a user