aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/nvme.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/nvme.py b/sos/plugins/nvme.py
index 6e2cda73..bd9d2df0 100644
--- a/sos/plugins/nvme.py
+++ b/sos/plugins/nvme.py
@@ -21,6 +21,7 @@ class Nvme(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
return [dev for dev in sys_block if dev.startswith('nvme')]
def setup(self):
+ self.add_copy_spec("/etc/nvme/discovery.conf")
self.add_cmd_output([
"nvme list",
"nvme list-subsys",
@@ -39,6 +40,5 @@ class Nvme(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
"nvme show-regs /dev/%s" % dev,
"nvme get-ns-id /dev/%s" % dev
])
- self.add_copy_spec("/etc/nvme/discovery.conf")
# vim: set et ts=4 sw=4 :