Use is_loaded in manager.init
It's available since 1.1.0 (Ocata). TrivialFix Change-Id: I89a7fa0f9353d74717f6a57972294ab5e11157d2
This commit is contained in:
parent
f58904e669
commit
b44811ce7c
@ -287,6 +287,5 @@ class NeutronManager(object):
|
||||
|
||||
def init():
|
||||
"""Call to load the plugins (core+services) machinery."""
|
||||
# TODO(armax): use is_loaded() when available
|
||||
if not directory.get_plugins():
|
||||
if not directory.is_loaded():
|
||||
NeutronManager.get_instance()
|
||||
|
Loading…
Reference in New Issue
Block a user