parent
a345a813d8
commit
54eda59c6e
5
http.go
5
http.go
|
@ -87,11 +87,11 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
if tmp == "/cluster" {
|
if tmp == "/cluster" {
|
||||||
log.Info("/cluster jcarr actually doing START")
|
log.Info("/cluster jcarr actually doing START")
|
||||||
fmt.Fprintln(w, "/cluster jcarr actually doing START")
|
fmt.Fprintln(w, "/cluster jcarr actually doing START")
|
||||||
var c *pb.Cluster
|
c := pb.InitCluster()
|
||||||
c = new(pb.Cluster)
|
|
||||||
|
|
||||||
fmt.Fprintln(w, "cluster len(msg) =", len(msg))
|
fmt.Fprintln(w, "cluster len(msg) =", len(msg))
|
||||||
err = c.UnmarshalJSON(msg)
|
err = c.UnmarshalJSON(msg)
|
||||||
|
@ -117,6 +117,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
if tmp == "/start" {
|
if tmp == "/start" {
|
||||||
log.Info("/start jcarr actually doing START", me.Hostname)
|
log.Info("/start jcarr actually doing START", me.Hostname)
|
||||||
|
|
Loading…
Reference in New Issue