From a2fb39c676667c5e6ba5bee6ed820e9c1d7d66fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Thu, 20 May 2021 14:03:01 +0200 Subject: 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. --- core/statsmanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3