mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-21 21:33:18 +01:00
fix: returns afters healthcheck
This commit is contained in:
@@ -2,10 +2,11 @@ package healthcheck
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
log "github.com/sirupsen/logrus"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
log "github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
func HttpRequest(addr string, base string) error {
|
func HttpRequest(addr string, base string) error {
|
||||||
|
|||||||
1
main.go
1
main.go
@@ -72,6 +72,7 @@ func main() {
|
|||||||
if err := healthcheck.HttpRequest(args.Addr, args.Base); err != nil {
|
if err := healthcheck.HttpRequest(args.Addr, args.Base); err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if args.AuthProvider != "none" && args.AuthProvider != "forward-proxy" && args.AuthProvider != "simple" {
|
if args.AuthProvider != "none" && args.AuthProvider != "forward-proxy" && args.AuthProvider != "simple" {
|
||||||
|
|||||||
Reference in New Issue
Block a user