diff --git a/http.go b/http.go index 4685980..b456770 100644 --- a/http.go +++ b/http.go @@ -87,11 +87,11 @@ func okHandler(w http.ResponseWriter, r *http.Request) { return } + /* if tmp == "/cluster" { log.Info("/cluster jcarr actually doing START") fmt.Fprintln(w, "/cluster jcarr actually doing START") - var c *pb.Cluster - c = new(pb.Cluster) + c := pb.InitCluster() fmt.Fprintln(w, "cluster len(msg) =", len(msg)) err = c.UnmarshalJSON(msg) @@ -117,6 +117,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) { } return } + */ if tmp == "/start" { log.Info("/start jcarr actually doing START", me.Hostname)