Remove deprecated glance_store opts from default section
The glance store opts should be specified in the glance_store section. We had deprecated the opts in default section in Juno. DocImpact Change-Id: Ib0fda16d7f00f6f3ff15eeae87615aec26efaaac
This commit is contained in:
committed by
Sabari
parent
f37947a7e0
commit
d59254e689
@@ -49,12 +49,6 @@ class Store(capabilities.StoreCapability):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
if self.OPTIONS is not None:
|
if self.OPTIONS is not None:
|
||||||
# NOTE(flaper87): To be removed in k-2. This should
|
|
||||||
# give deployers enough time to migrate their systems
|
|
||||||
# and move configs under the new section.
|
|
||||||
for opt in self.OPTIONS:
|
|
||||||
opt.deprecated_opts = [cfg.DeprecatedOpt(opt.name,
|
|
||||||
group='DEFAULT')]
|
|
||||||
self.conf.register_opts(self.OPTIONS, group='glance_store')
|
self.conf.register_opts(self.OPTIONS, group='glance_store')
|
||||||
except cfg.DuplicateOptError:
|
except cfg.DuplicateOptError:
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user