aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/openstack_neutron.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/sos/plugins/openstack_neutron.py b/sos/plugins/openstack_neutron.py
index dba192ee..d37430ef 100644
--- a/sos/plugins/openstack_neutron.py
+++ b/sos/plugins/openstack_neutron.py
@@ -40,10 +40,7 @@ class Neutron(Plugin):
component_name = "neutron"
def setup(self):
- if os.path.exists("/etc/neutron/") and \
- self.get_option("quantum", False):
- self.component_name = self.plugin_name
- else:
+ if not os.path.exists("/etc/neutron/") or self.get_option("quantum"):
self.component_name = "quantum"
self.add_copy_spec([