[codespell] Fixing Spelling Mistakes
This is the first in a series of commits to add support for codespell. This is continuning the process completed in ironic-python-agent. Future Commits will add a Tox Target, CI support and potentially a git-blame-ignore-revs file if their are lots of spelling mistakes that could clutter git blame. Change-Id: I37fd53dfd4be6d4204d90fd1c6c508b20d46f617
This commit is contained in:
parent
5211827f2d
commit
70cb6fd86e
@ -78,7 +78,7 @@ function check_data {
|
||||
if [ -f "$IRONIC_PROMETHEUS_EXPORTER_LOCATION/$node_file" ]; then
|
||||
echo "Found $node_file in $IRONIC_PROMETHEUS_EXPORTER_LOCATION"
|
||||
if curl -s --head --request GET "http://$HOST_IP:$IRONIC_PROMETHEUS_EXPORTER_PORT/metrics" | grep "200 OK" > /dev/null; then
|
||||
echo "Data successfully retrived from ironic-prometheus-exporter application"
|
||||
echo "Data successfully retrieved from ironic-prometheus-exporter application"
|
||||
else
|
||||
die $LINENO "Couldn't get data from ironic-prometheus-exporter application"
|
||||
fi
|
||||
|
@ -171,7 +171,7 @@ def category_registry(message, metrics_registry):
|
||||
labelnames=list(labels.keys()),
|
||||
registry=metrics_registry)
|
||||
# Prometheus_client doesn't directly expose a counter method
|
||||
# to set a counterv alue directly.
|
||||
# to set a counter value directly.
|
||||
metric.labels(**labels).set(value['count'])
|
||||
LOG.debug(f'Details of the metric {formatted_key} with labels '
|
||||
'{labels}, value: %s', value['count'])
|
||||
|
@ -50,7 +50,7 @@
|
||||
"baremetal_os_watchdog":
|
||||
"Indicates if watchdog is enabled",
|
||||
"baremetal_fan_redundancy":
|
||||
"Indicates if fan redundancy is actived",
|
||||
"Indicates if fan redundancy is activated",
|
||||
"baremetal_fan_rpm":
|
||||
"Indicates the fan speed",
|
||||
"baremetal_last_payload_timestamp_seconds":
|
||||
|
Loading…
Reference in New Issue
Block a user