func name change
This commit is contained in:
parent
4dd0f0eaba
commit
55a3ed7187
2
Makefile
2
Makefile
|
@ -11,7 +11,7 @@ check_files:
|
||||||
@echo the build is complicated right now because you need
|
@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 the google version of protoc-gen-go which is not the one in debian sid yet
|
||||||
@echo
|
@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 "the protoc-gen-go package is old in debian sid right now"; \
|
||||||
echo "for now, remove it"; \
|
echo "for now, remove it"; \
|
||||||
apt remote proto-gen-go \
|
apt remote proto-gen-go \
|
||||||
|
|
2
http.go
2
http.go
|
@ -105,7 +105,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
||||||
// toggle poll logging
|
// toggle poll logging
|
||||||
if route == "/poll" {
|
if route == "/poll" {
|
||||||
if POLL.Get() {
|
if POLL.Enabled() {
|
||||||
log.Info("POLL is true")
|
log.Info("POLL is true")
|
||||||
POLL.SetBool(false)
|
POLL.SetBool(false)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue