Update main.go
Some checks failed
Build Go Binary / build (push) Has been cancelled

This commit is contained in:
holzi1005 2025-08-06 17:34:55 +02:00
parent f797d909cf
commit 923261a527

View file

@ -196,7 +196,7 @@ func main() {
Name: "SRV_" + strings.ReplaceAll(svc.Metadata.Name, " ", "-"),
Balance: "leastconn",
Mode: "tcp",
HealthCheck: true,
HealthCheck: "",
}
if val, ok := ann["haproxy/mode"]; ok && val != "" {