diff options
| author | Jeff Carr <[email protected]> | 2024-10-31 13:38:28 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-31 13:38:28 -0500 |
| commit | 54eda59c6e2d65933e2ee8f8efb941047c4699c9 (patch) | |
| tree | 6d55d448954de52f206ccce5f115ae2658fe01e0 | |
| parent | a345a813d887b02d9c6eaea9d4645cf5c30f0573 (diff) | |
compiles
Signed-off-by: Jeff Carr <[email protected]>
| -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) |
