commit | 749f626a47e5333756c8ad1f32f6bbfe6abf1407 | [log] [tgz] |
---|---|---|
author | Olivier Bourdon <obourdon@mirantis.com> | Thu Apr 06 15:22:00 2017 +0200 |
committer | Tomas Kukral <tkukral@mirantis.com> | Fri Apr 07 13:45:10 2017 +0000 |
tree | ec6e6e35dcd4785bc05da527a527d96de372b5e4 | |
parent | 16ba2802eb06f5a670ab8dc08e8f43d5103a5057 [diff] |
Fix for proper total of networks Change-Id: I1fd0565f073d62c413134f9eee6f3075514721f0
diff --git a/collectd/files/plugin/openstack_neutron.py b/collectd/files/plugin/openstack_neutron.py index 1d147c7..a297b94 100644 --- a/collectd/files/plugin/openstack_neutron.py +++ b/collectd/files/plugin/openstack_neutron.py
@@ -75,7 +75,7 @@ yield { 'plugin_instance': 'networks', 'type_instance': 'total', - 'values': len(status), + 'values': len(networks), 'meta': {'discard_hostname': True}, }