aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJonas Schäfer <jonas@wielicki.name>2021-05-20 14:03:01 +0200
committerJonas Schäfer <jonas@wielicki.name>2021-05-20 14:03:01 +0200
commita2fb39c676667c5e6ba5bee6ed820e9c1d7d66fd (patch)
tree85f38bf268b8d8ad6d714e573be3e2994f7dbe54 /core
parentb3ec594dd44727296266a7d97c0899ad07a35efb (diff)
downloadprosody-a2fb39c676667c5e6ba5bee6ed820e9c1d7d66fd.tar.gz
prosody-a2fb39c676667c5e6ba5bee6ed820e9c1d7d66fd.zip
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.
Diffstat (limited to 'core')
-rw-r--r--core/statsmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/statsmanager.lua b/core/statsmanager.lua
index 8323c160..686fc895 100644
--- a/core/statsmanager.lua
+++ b/core/statsmanager.lua
@@ -83,7 +83,7 @@ if stats then
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