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:
Jeremy Liu 2017-07-01 16:21:18 +08:00
parent 004558ae7f
commit ccb4985aec
1 changed files with 1 additions and 1 deletions

View File

@ -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,