Fix logging labales --> labels
Huge patch to fix logging message. Happy new year! Signed-off-by: Arnaud Morin <arnaud.morin@ovhcloud.com> Change-Id: I89a1f272928d8b125919c824e7f5b2bedf9fd9db
This commit is contained in:
parent
3152795005
commit
95013ef29d
|
@ -61,7 +61,7 @@ class MessageRouter():
|
|||
metric_with_label = getattr(metric_definition, "labels")
|
||||
metric_with_label = metric_with_label(**metric.labels)
|
||||
except AttributeError as e:
|
||||
LOG.error("Failed to load labales func from metrics %s: %s" %
|
||||
LOG.error("Failed to load labels func from metrics %s: %s" %
|
||||
(metric.name, e))
|
||||
return
|
||||
LOG.info("Get labels with %s: %s" % (metric.name, metric.labels))
|
||||
|
|
Loading…
Reference in New Issue