We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3359f7 commit 85588b2Copy full SHA for 85588b2
server.go
@@ -86,10 +86,9 @@ func webHooks(w http.ResponseWriter, r *http.Request) {
86
return
87
}
88
id := contentMap["repository"].(map[string]interface{})["full_name"].(string)
89
- log.Println("当前full_name:", id)
90
//id = strings.ToLower(id)
91
config := config[id]
92
- log.Println("当前配置:", config)
+ log.Println("full_name:", id, ",当前配置:", config)
93
if reflect.DeepEqual(config, Config{}) {
94
fmt.Fprintln(w, "{\"code\":200, \"error\":\"Config is not found\"}")
95
0 commit comments