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:
Arnaud Morin 2023-01-13 09:31:20 +01:00
parent 3152795005
commit 95013ef29d
1 changed files with 1 additions and 1 deletions

View File

@ -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))