We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92925ba commit 82ac910Copy full SHA for 82ac910
1 file changed
http.go
@@ -22,7 +22,8 @@ func checkNetwork(r *http.Request) bool {
22
}
23
24
// If supervisor is down
25
- if supervisorPing() {
+ if !supervisorPing() {
26
+ log.Printf("API is disabled / Supervisor is running - %s", remote)
27
return true
28
29
0 commit comments