summarylogtreecommitdiffstats
path: root/go.uuid.patch
diff options
context:
space:
mode:
authorAliaksandr Stelmachonak a.k.a. ava1ar2018-04-24 22:55:26 -0400
committerAliaksandr Stelmachonak a.k.a. ava1ar2018-04-24 22:55:26 -0400
commitcf6f367b7458a43186be3b7a4141cc81e3ed4679 (patch)
tree06c3bd3c8cc6e8a8bcb287c775f1bda3edc786ac /go.uuid.patch
downloadaur-cf6f367b7458a43186be3b7a4141cc81e3ed4679.tar.gz
Initial commit, version 2.6.8
Diffstat (limited to 'go.uuid.patch')
-rw-r--r--go.uuid.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/go.uuid.patch b/go.uuid.patch
new file mode 100644
index 000000000000..0dc193683910
--- /dev/null
+++ b/go.uuid.patch
@@ -0,0 +1,12 @@
+--- a/webhook-2.6.8/webhook.go 2018-04-24 22:46:10.468519981 -0400
++++ b/webhook-2.6.8/webhook.go 2018-04-24 22:46:57.695524146 -0400
+@@ -202,7 +202,8 @@
+ func hookHandler(w http.ResponseWriter, r *http.Request) {
+
+ // generate a request id for logging
+- rid := uuid.NewV4().String()[:6]
++ u,_ := uuid.NewV4()
++ rid := u.String()[:6]
+
+ log.Printf("[%s] incoming HTTP request from %s\n", rid, r.RemoteAddr)
+