aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2013-07-25 18:56:58 +0100
committerBryn M. Reeves <bmr@redhat.com>2013-07-25 18:56:58 +0100
commit49f1529a7a7da196368daf952824fc502859f9af (patch)
treeda84d56a9ffe0cc6d7444eaa15768a5747562ef3
parent84426151c24d613479c5858c842c91512a425da4 (diff)
downloadsos-49f1529a7a7da196368daf952824fc502859f9af.tar.gz
Fix API usage in openstack plug-in
One call in openstack.py used the old addCopySpecs() method. This will fail with current sos-3.x code. Update it to use the new add_copy_specs() method instead. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/openstack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/openstack.py b/sos/plugins/openstack.py
index a35a9e85..69a830bc 100644
--- a/sos/plugins/openstack.py
+++ b/sos/plugins/openstack.py
@@ -67,7 +67,7 @@ class OpenStack(Plugin):
# Cinder
if os.path.exists("cinder-manage"):
- self.addCmdOutput(
+ self.add_cmd_output(
"cinder-manage db version",
suggest_filename="cinder_db_version")
self.add_copy_specs(["/etc/cinder/",