Fix warn api_class is deprecated, use backend
See a warning like Config option key_manager.api_class is deprecated. Use option key_manager.backend instead. it's because nova use castellan and castellan uses https://github.com/openstack/castellan/blob/master/castellan/key_manager/__init__.py#L25 so nova need to follow the change to avoid the warning. Change-Id: Ibfdb087e6421d55ceefd805f67550e668c86be61
This commit is contained in:
parent
a5a569d667
commit
199eb8364f
|
@ -66,7 +66,7 @@ class ConfFixture(config_fixture.Config):
|
|||
self.conf.set_default('sqlite_synchronous', False, group='database')
|
||||
|
||||
# key_manager group
|
||||
self.conf.set_default('api_class',
|
||||
self.conf.set_default('backend',
|
||||
'nova.keymgr.conf_key_mgr.ConfKeyManager',
|
||||
group='key_manager')
|
||||
|
||||
|
|
Loading…
Reference in New Issue