Update main.go
All checks were successful
Build Go Binary / build (push) Successful in 33s

This commit is contained in:
holzi1005 2025-08-06 15:19:16 +02:00
parent 8705a80ca8
commit a331343f71

View file

@ -202,7 +202,7 @@ func main() {
if val, ok := ann["haproxy/mode"]; ok && val != "" {
b.Mode = val
}
if val, ok := ann["haproxy/cookie"]; ok && val != "" {
if val, ok := ann["haproxy/cookie-name"]; ok && val != "" {
b.CookieName = val
}
if val, ok := ann["haproxy/cookie-flags"]; ok && val != "" {