aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Dutton <jeff.r.dutton@gmail.com>2013-10-30 18:20:22 -0400
committerAdam Stokes <adam.stokes@ubuntu.com>2013-10-30 19:16:33 -0400
commitc398e45ce3e22062df08c2d4f9dc1eed1ee99e1d (patch)
treec93082cd035f1db049ffeb4f133f2915cf2e5b37
parent2ea9da82411b4eca2fe959906f520ac2decfb866 (diff)
downloadsos-c398e45ce3e22062df08c2d4f9dc1eed1ee99e1d.tar.gz
Change add_copy_spec calls that are passed array to use add_copy_specs
Signed-off-by: Jeff Dutton <jeff.r.dutton@gmail.com> Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
-rw-r--r--AUTHORS1
-rw-r--r--sos/plugins/openstack_nova.py2
-rw-r--r--sos/plugins/openstack_quantum.py2
3 files changed, 3 insertions, 2 deletions
diff --git a/AUTHORS b/AUTHORS
index bae14412..90b3198b 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -9,6 +9,7 @@ Eric Williams <eric.williams@canonical.com>
Eugene Teo <eteo@redhat.com>
Gary Kotton <gkotton@redhat.com>
James Hunt <james.hunt@ubuntu.com>
+Jeff Dutton <jeff.r.dutton@gmail.com>
Jeff Peeler <jpeeler@redhat.com>
Jesse Jaggars <jjaggars@redhat.com>
Joey Boggs <jboggs@redhat.com>
diff --git a/sos/plugins/openstack_nova.py b/sos/plugins/openstack_nova.py
index 24a384fa..2e7c956a 100644
--- a/sos/plugins/openstack_nova.py
+++ b/sos/plugins/openstack_nova.py
@@ -106,7 +106,7 @@ class DebianOpenStackNova(OpenStackNova, DebianPlugin, UbuntuPlugin):
def setup(self):
super(DebianOpenStackNova, self).setup()
- self.add_copy_spec(["/etc/sudoers.d/nova_sudoers"])
+ self.add_copy_specs(["/etc/sudoers.d/nova_sudoers"])
class RedHatOpenStackNova(OpenStackNova, RedHatPlugin):
diff --git a/sos/plugins/openstack_quantum.py b/sos/plugins/openstack_quantum.py
index 9ce59b15..96fb90b3 100644
--- a/sos/plugins/openstack_quantum.py
+++ b/sos/plugins/openstack_quantum.py
@@ -58,7 +58,7 @@ class DebianOpenStackQuantum(OpenStackQuantum, DebianPlugin, UbuntuPlugin):
def setup(self):
super(DebianOpenStackQuantum, self).setup()
- self.add_copy_spec(["/etc/sudoers.d/quantum_sudoers"])
+ self.add_copy_specs(["/etc/sudoers.d/quantum_sudoers"])
class RedHatOpenStackQuantum(OpenStackQuantum, RedHatPlugin):