From bcadd341eb9a38b4bf92f404157ae54b3a443a2a Mon Sep 17 00:00:00 2001 From: Mohammad Banikazemi Date: Fri, 5 Feb 2021 18:12:54 -0500 Subject: [PATCH] Correcting the changed function name in comment Signed-off-by: Mohammad Banikazemi --- agent/router/serf_flooder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/router/serf_flooder.go b/agent/router/serf_flooder.go index 661ddbd86b..7c415db25a 100644 --- a/agent/router/serf_flooder.go +++ b/agent/router/serf_flooder.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/serf/serf" ) -// FloodAddrPortFn gets the address and port to use for a given server when +// FloodAddrFn gets the address and port to use for a given server when // flood-joining. This will return false if it doesn't have one. type FloodAddrFn func(*metadata.Server) (string, error)