summaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'http.go')
-rw-r--r--http.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/http.go b/http.go
index 11c0a49..2404ca6 100644
--- a/http.go
+++ b/http.go
@@ -114,6 +114,13 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
case "/patches/new":
result = addNewPatches(pb, reqPB)
log.Infof("addNewPatches() pb.Len()=%d result.Len()=%d\n", pb.Len(), result.Len())
+ case "/patches/applied":
+ log.Info("not really anything needs to be done on applied patches?")
+ // result = handleAppliedPatches(pb, reqPB)
+ case "/patches/merged":
+ log.Info("a maintainer has merged these patches")
+ result = handleMergedPatches(pb, reqPB)
+ // result = handleAppliedPatches(pb, reqPB)
case "/patches/get":
result = sendPendingPatches(pb, reqPB)
default: