Correcting the changed function name in comment

Signed-off-by: Mohammad Banikazemi <mbanikazemi@gmail.com>
This commit is contained in:
Mohammad Banikazemi 2021-02-05 18:12:54 -05:00 committed by Mohammad Banikazemi
parent 3ed3380101
commit 45b11c713a
1 changed files with 1 additions and 1 deletions

View File

@ -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)