summaryrefslogtreecommitdiffstats
path: root/models/unit/unit.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/unit/unit.go')
-rw-r--r--models/unit/unit.go2
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