From 5e79efc80f534a35ac99cf3eeaf90f8d69f9bb0d Mon Sep 17 00:00:00 2001 From: Pierre Souchay Date: Fri, 24 Apr 2020 00:55:41 +0200 Subject: [PATCH] Fixed comment on wrong line. While investigating and fixing an issue on our 1.5.1 branch, I saw you also/already fixed the bug I found (tags not updated for existing servers), but comment is misplaced. --- agent/router/serf_adapter.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/agent/router/serf_adapter.go b/agent/router/serf_adapter.go index 82ed00e759..b051b2f965 100644 --- a/agent/router/serf_adapter.go +++ b/agent/router/serf_adapter.go @@ -67,9 +67,10 @@ func HandleSerfEvents(logger hclog.Logger, router *Router, areaID types.AreaID, case serf.EventMemberFailed: handleMemberEvent(logger, router.FailServer, areaID, e) - // All of these event types are ignored. case serf.EventMemberUpdate: handleMemberEvent(logger, router.AddServer, areaID, e) + + // All of these event types are ignored. case serf.EventUser: case serf.EventQuery: