From 54eda59c6e2d65933e2ee8f8efb941047c4699c9 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 31 Oct 2024 13:38:28 -0500 Subject: [PATCH] compiles Signed-off-by: Jeff Carr --- http.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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)