From 5a41300464aeda0feaf39b3467addb04a98b5fe4 Mon Sep 17 00:00:00 2001 From: Donal Hurley Date: Fri, 5 Jul 2024 16:20:28 +0100 Subject: [PATCH 1/2] fix: update keepalive field for http upstreams --- client/nginx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/nginx.go b/client/nginx.go index 0d8cce0e..dae94cda 100644 --- a/client/nginx.go +++ b/client/nginx.go @@ -361,7 +361,7 @@ type Upstream struct { Zone string Peers []Peer Queue Queue - Keepalives int + Keepalive int Zombies int } From 2087485c01222b4bc31ad5aaa1c165d40aea1e6b Mon Sep 17 00:00:00 2001 From: Donal Hurley Date: Fri, 5 Jul 2024 16:26:43 +0100 Subject: [PATCH 2/2] Fix linting --- client/nginx.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/client/nginx.go b/client/nginx.go index dae94cda..5c4c3821 100644 --- a/client/nginx.go +++ b/client/nginx.go @@ -358,11 +358,11 @@ type Upstreams map[string]Upstream // Upstream represents upstream related stats. type Upstream struct { - Zone string - Peers []Peer - Queue Queue - Keepalive int - Zombies int + Zone string + Peers []Peer + Queue Queue + Keepalive int + Zombies int } // StreamUpstreams is a map of stream upstream stats by upstream name.