Merge pull request #2915 from mcnicholls/hook-parser-tomap-fix

Fix incorrect return value from toMap function
This commit is contained in:
Brad Rydzewski 2020-01-30 17:22:42 -06:00 committed by GitHub
commit 23642b92d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}