diff options
| author | Jeff Carr <[email protected]> | 2025-02-07 04:40:52 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-07 04:40:52 -0600 |
| commit | 55a3ed7187140e360e5a0e525f9a577dcb4579b2 (patch) | |
| tree | aa175c8901f191dc0730885cda6bebe85a43ce9c | |
| parent | 4dd0f0eaba47eb14e661683b09ed90c25bed61f6 (diff) | |
func name changev0.2.30
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | http.go | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -11,7 +11,7 @@ check_files: @echo the build is complicated right now because you need @echo the google version of protoc-gen-go which is not the one in debian sid yet @echo - @if [ -f "/usr/bin/bin/protoc-gen-go" ]; then \ + @if [ -f "/usr/bin/protoc-gen-go" ]; then \ echo "the protoc-gen-go package is old in debian sid right now"; \ echo "for now, remove it"; \ apt remote proto-gen-go \ @@ -105,7 +105,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) { // toggle poll logging if route == "/poll" { - if POLL.Get() { + if POLL.Enabled() { log.Info("POLL is true") POLL.SetBool(false) } else { |
