Fix bug: karbor-protection can not load provider-registry
We should provide the plugin name as defined in entry_point instead of the path for the plugin when loading by stevedore. Change-Id: I1b95699befd1e8a6d7cfdc61d0fe98e8c3c61ca0 Closes-bug: #1701786
This commit is contained in:
parent
004558ae7f
commit
ccb4985aec
|
@ -38,7 +38,7 @@ LOG = logging.getLogger(__name__)
|
|||
|
||||
protection_manager_opts = [
|
||||
cfg.StrOpt('provider_registry',
|
||||
default='karbor.services.protection.provider.ProviderRegistry',
|
||||
default='provider-registry',
|
||||
help='the provider registry'),
|
||||
cfg.IntOpt('max_concurrent_operations',
|
||||
default=0,
|
||||
|
|
Loading…
Reference in New Issue