summaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'http.go')
-rw-r--r--http.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/http.go b/http.go
index ffbc5e3..c48a42c 100644
--- a/http.go
+++ b/http.go
@@ -49,14 +49,14 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
if err != nil {
return
}
- // marshal the protobuf to xfer over the socket
- data, err := found.Marshal()
- if err != nil {
- log.Info("repos.Marshal() to wire failed", err)
- return
- }
- w.Write(data)
+ /*
+ for repo := range repos.IterAll() {
+ repo.Namespace += "good"
+ log.Infof("repo:%s,%s\n", repo.Namespace, repo.FullPath)
+ }
+ */
+ found.SendPB(w)
return
}