Software /
code /
prosody
Changeset
11575:76d32b2ca5eb
statsmanager: remove "legacy" wording
This was a leftover from when we (or rather I) thought that the
old (now called "high-level") API would be removed. We deemed it
useful though, so let's remove that "legacy" language and make
the description more friendly.
author | Jonas Schäfer <jonas@wielicki.name> |
---|---|
date | Thu, 20 May 2021 14:03:01 +0200 |
parents | 11574:21217f7e82b9 |
children | 11576:fbd1ebd86369 |
files | core/statsmanager.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/statsmanager.lua Sat May 08 16:31:48 2021 +0200 +++ b/core/statsmanager.lua Thu May 20 14:03:01 2021 +0200 @@ -83,7 +83,7 @@ end local function unwrap_legacy_extra(extra, type_, name, unit) - local description = extra and extra.description or "Legacy "..type_.." metric "..name + local description = extra and extra.description or name.." "..type_ unit = extra and extra.unit or unit return description, unit end