parent
a345a813d8
commit
54eda59c6e
5
http.go
5
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)
|
||||
|
|
Loading…
Reference in New Issue