diff options
| author | Jeff Carr <[email protected]> | 2025-09-08 08:39:00 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-08 08:40:32 -0500 |
| commit | e1411dd1e93914ba240f1813e6922ae87ef98653 (patch) | |
| tree | 9159a42f6d7ae2190613148633cf1588ee813975 /http.go | |
| parent | 607886cc6af339db236909f1708248f14cb4bde1 (diff) | |
work on repos/v0.0.26
Diffstat (limited to 'http.go')
| -rw-r--r-- | http.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -89,12 +89,15 @@ func okHandler(w http.ResponseWriter, r *http.Request) { } result := gitpb.NewRepos() switch route { + case "/repos/check": + result = addRequest(pb, reqPB) + log.Infof("repos check result.Len()=%d pb.Len()=%d\n", result.Len(), pb.Len()) case "/repos/pull": result = pullRequest(pb, reqPB) case "/repos/add": result = addRequest(pb, reqPB) default: - result = pullRequest(pb, reqPB) + log.Info("repos", route, "unknown") } if err := result.SendReply(w, reqPB); err != nil { log.Info("Oh well, Send to client failed. err =", err) |
