mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
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.
This commit is contained in:
parent
b3ec594dd4
commit
a2fb39c676
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue