summaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-10 22:45:01 -0500
committerJeff Carr <[email protected]>2025-09-10 22:45:01 -0500
commit209ee29773f910e3b1274725e7e40edee40cb535 (patch)
tree934c0d5eaf9bfc7500a6aabcfa4b56b8121ad2f5 /http.go
parent43d653a8c040d68a4386d1fc1cc7cfa18ce34e83 (diff)
minor fixes
Diffstat (limited to 'http.go')
-rw-r--r--http.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/http.go b/http.go
index 486cf13..c4d3c94 100644
--- a/http.go
+++ b/http.go
@@ -46,13 +46,13 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
switch route {
case "/repos/check":
result = addRequest(pb, reqPB)
- reqPB.Logf("repos check result.Len()=%d pb.Len()=%d\n", result.Len(), pb.Len())
+ reqPB.Logf("repos check result.Len()=%d pb.Len()=%d", result.Len(), pb.Len())
case "/repos/pull":
result = pullRequest(pb, reqPB)
case "/repos/add":
result = addRequest(pb, reqPB)
default:
- reqPB.Logf("repos check result.Len()=%d pb.Len()=%d\n", result.Len(), pb.Len())
+ reqPB.Logf("repos check result.Len()=%d pb.Len()=%d", result.Len(), pb.Len())
log.Info("repos", route, "unknown")
}
if err := result.SendReply(w, reqPB); err != nil {
@@ -74,7 +74,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
switch route {
case "/patches/new":
result = addNewPatches(pb, reqPB)
- reqPB.Logf("addNewPatches() pb.Len()=%d result.Len()=%d\n", pb.Len(), result.Len())
+ reqPB.Logf("addNewPatches() pb.Len()=%d result.Len()=%d", pb.Len(), result.Len())
case "/patches/applied":
reqPB.Log("not really anything needs to be done on applied patches?")
case "/patches/merged":