diff --git a/prometheus-openstack-exporter/exporter/cinder_services.py b/prometheus-openstack-exporter/exporter/cinder_services.py index 48daa768..6ec03503 100644 --- a/prometheus-openstack-exporter/exporter/cinder_services.py +++ b/prometheus-openstack-exporter/exporter/cinder_services.py @@ -81,7 +81,7 @@ class CinderServiceStats(OSBase): except ValueError: logger.debug('Unchanged value for stat {} already present in ' 'cinder services registry for host {}; ignoring.' - .format(services_stat['stat_name'], - services_stat['host'])) + .format(cinder_services_stat['stat_name'], + cinder_services_stat['host'])) return generate_latest(registry)