diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2013-07-25 18:56:58 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2013-07-25 18:56:58 +0100 |
commit | 49f1529a7a7da196368daf952824fc502859f9af (patch) | |
tree | da84d56a9ffe0cc6d7444eaa15768a5747562ef3 | |
parent | 84426151c24d613479c5858c842c91512a425da4 (diff) | |
download | sos-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.py | 2 |
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/", |