diff options
| -rw-r--r-- | http.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) |
