aboutsummaryrefslogtreecommitdiffstats
path: root/modules/util/compare.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/util/compare.go')
-rw-r--r--modules/util/compare.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/util/compare.go b/modules/util/compare.go
index cd9ba0d91c..49891ef024 100644
--- a/modules/util/compare.go
+++ b/modules/util/compare.go
@@ -71,7 +71,7 @@ func IsInt64InSlice(target int64, slice []int64) bool {
}
// IsEqualSlice returns true if slices are equal.
-func IsEqualSlice(target []string, source []string) bool {
+func IsEqualSlice(target, source []string) bool {
if len(target) != len(source) {
return false
}