From b44811ce7c6c296f1b792df78d2d6d5eae3f6d68 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Thu, 30 Mar 2017 14:50:33 +0000 Subject: [PATCH] Use is_loaded in manager.init It's available since 1.1.0 (Ocata). TrivialFix Change-Id: I89a7fa0f9353d74717f6a57972294ab5e11157d2 --- neutron/manager.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/neutron/manager.py b/neutron/manager.py index 34ebeb42700..6d763e47efe 100644 --- a/neutron/manager.py +++ b/neutron/manager.py @@ -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()