From 417a55e2133ddb1996034d6c74c7fc397f97cc4e Mon Sep 17 00:00:00 2001 From: Jason Song Date: Sun, 2 Apr 2023 22:11:56 +0800 Subject: [PATCH] Update models/unit/unit.go Co-authored-by: delvh --- models/unit/unit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/unit/unit.go b/models/unit/unit.go index d5eec6c02c6f..00ed67f47af2 100644 --- a/models/unit/unit.go +++ b/models/unit/unit.go @@ -344,7 +344,7 @@ var ( } ) -// FindUnitTypes give the unit key names and return valid deduplicate units and invalid keys +// FindUnitTypes give the unit key names and return valid unique units and invalid keys func FindUnitTypes(nameKeys ...string) (res []Type, invalidKeys []string) { m := map[Type]struct{}{} for _, key := range nameKeys {