From a54b4472de7b2970e2280285ffabc42be3b55160 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Mon, 4 Sep 2023 15:13:49 +0300 Subject: [PATCH 1/2] [#674] network: Close connections on address updates Signed-off-by: Evgenii Stratonikov --- pkg/network/cache/multi.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/network/cache/multi.go b/pkg/network/cache/multi.go index 98d2f33e7..d03edd962 100644 --- a/pkg/network/cache/multi.go +++ b/pkg/network/cache/multi.go @@ -130,6 +130,7 @@ loop: continue loop } } + x.clients[a].invalidate() delete(x.clients, a) } -- 2.45.2 From 054e3ef3d30790650729875f9835b025570c800a Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Mon, 4 Sep 2023 15:33:21 +0300 Subject: [PATCH 2/2] [#674] pre-commit: Update shellcheck-py Signed-off-by: Evgenii Stratonikov --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f891f8860..5f20bdc84 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,7 +26,7 @@ repos: exclude: ".key$" - repo: https://github.com/shellcheck-py/shellcheck-py - rev: v0.9.0.2 + rev: v0.9.0.5 hooks: - id: shellcheck -- 2.45.2