diff --git a/models/unit/unit.go b/models/unit/unit.go index d5eec6c02c6f6..00ed67f47af26 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 {