diff options
Diffstat (limited to 'models/unit')
-rw-r--r-- | models/unit/unit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/unit/unit.go b/models/unit/unit.go index e94775413e..b83bd61831 100644 --- a/models/unit/unit.go +++ b/models/unit/unit.go @@ -318,7 +318,7 @@ func FindUnitTypes(nameKeys ...string) (res []Type) { res = append(res, TypeInvalid) } } - return + return res } // TypeFromKey give the unit key name and return unit |