func name change
This commit is contained in:
parent
66dc8d1f61
commit
f6b9e6d86a
2
http.go
2
http.go
|
@ -62,7 +62,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
log.Info("going to toggle flag:", flag)
|
log.Info("going to toggle flag:", flag)
|
||||||
switch flag {
|
switch flag {
|
||||||
case "PING":
|
case "PING":
|
||||||
if PING.Bool() {
|
if PING.Enabled() {
|
||||||
log.Log(NOW, "toogle PING false")
|
log.Log(NOW, "toogle PING false")
|
||||||
PING.SetBool(false)
|
PING.SetBool(false)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue