better naming on #891

This commit is contained in:
Unknwon committed 2015-02-11 12:04:01 -05:00
1 parent 485ea6f14f
commit d02e45f985
7 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -315,7 +315,7 @@ func DeliverHooks() {
req := httplib.Post(t.Url).SetTimeout(timeout, timeout).
Header("X-Gogs-Delivery", t.Uuid).
Header("X-Gogs-Event", string(t.EventType)).
SetTLSClientConfig(&tls.Config{InsecureSkipVerify: setting.Webhook.AllowInsecureCertification})
SetTLSClientConfig(&tls.Config{InsecureSkipVerify: setting.Webhook.SkipTLSVerify})
switch t.ContentType {
case JSON: