From 119ef5047102575691b61588e9ce4677e99a4024 Mon Sep 17 00:00:00 2001 From: Michael Nicholls Date: Thu, 30 Jan 2020 23:03:48 +0000 Subject: [PATCH] Fix incorrect return value from toMap function --- service/hook/parser/parse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/hook/parser/parse.go b/service/hook/parser/parse.go index 905b62f6f..b5b44b3a7 100644 --- a/service/hook/parser/parse.go +++ b/service/hook/parser/parse.go @@ -364,5 +364,5 @@ func toMap(src interface{}) map[string]string { for k, v := range set { dst[k] = fmt.Sprint(v) } - return nil + return dst }