diff options
Diffstat (limited to 'http.go')
| -rw-r--r-- | http.go | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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 } |
