mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-30 06:06:36 +00:00
prometheus: Fix typo in comment
The sentinel value is meant to be used for unknown memory values, not known values of course. Signed-off-by: Michael Hanselmann <public@hansmi.ch>
This commit is contained in:
parent
cd228d2f84
commit
620fbbb9c0
@ -164,7 +164,7 @@ void WritePromMetricStr(const char *name, uint8_t flags, const char *value, ...)
|
|||||||
va_end(labels);
|
va_end(labels);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sentinel value for known memory metrics, chosen to unlikely match actual
|
// Sentinel value for unknown memory metrics, chosen to unlikely match actual
|
||||||
// values.
|
// values.
|
||||||
const uint32_t kPromMemoryUnknown = 0xFFFFFFFF - 1;
|
const uint32_t kPromMemoryUnknown = 0xFFFFFFFF - 1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user