diff options
| author | Jeff Carr <[email protected]> | 2025-02-07 04:41:14 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-07 04:41:14 -0600 |
| commit | f6b9e6d86a07cbf02b5012e49b87513855846041 (patch) | |
| tree | c7f5d7644136752c82e39b41738d294d49553c2e | |
| parent | 66dc8d1f615af0ceb7ac285b707f17987a5fef46 (diff) | |
| -rw-r--r-- | http.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -62,7 +62,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) { log.Info("going to toggle flag:", flag) switch flag { case "PING": - if PING.Bool() { + if PING.Enabled() { log.Log(NOW, "toogle PING false") PING.SetBool(false) } else { |
