Stop adding ServiceAvailable group option
Service available group already exists.Therefore we don't need to register this group here again. Change-Id: I570cb7c1d2e13318a102b9f01a85fd24ffb89f9a Closes-Bug: #1621036
This commit is contained in:
parent
7cd0119723
commit
cab2734a94
@ -15,11 +15,7 @@
|
|||||||
|
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
|
|
||||||
service_available_group = cfg.OptGroup(name="service_available",
|
service_option = cfg.BoolOpt('mistral',
|
||||||
title="Available OpenStack Services")
|
default=True,
|
||||||
|
help="Whether or not Mistral is expected to be"
|
||||||
ServiceAvailableGroup = [
|
"available")
|
||||||
cfg.BoolOpt('mistral',
|
|
||||||
default=True,
|
|
||||||
help="Whether or not Mistral is expected to be available."),
|
|
||||||
]
|
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from tempest import config
|
|
||||||
from tempest.test_discover import plugins
|
from tempest.test_discover import plugins
|
||||||
|
|
||||||
from mistral_tempest_tests import config as mistral_config
|
from mistral_tempest_tests import config as mistral_config
|
||||||
@ -31,11 +30,8 @@ class MistralTempestPlugin(plugins.TempestPlugin):
|
|||||||
return full_test_dir, base_path
|
return full_test_dir, base_path
|
||||||
|
|
||||||
def register_opts(self, conf):
|
def register_opts(self, conf):
|
||||||
config.register_opt_group(
|
conf.register_opt(mistral_config.service_option,
|
||||||
conf,
|
group='service_available')
|
||||||
mistral_config.service_available_group,
|
|
||||||
mistral_config.ServiceAvailableGroup
|
|
||||||
)
|
|
||||||
|
|
||||||
def get_opt_lists(self):
|
def get_opt_lists(self):
|
||||||
pass
|
return [('service_available', [mistral_config.service_option])]
|
||||||
|
Loading…
Reference in New Issue
Block a user