Skip to content

Commit

Permalink
fix for #19066 Print warnings when deprecated options are configured …
Browse files Browse the repository at this point in the history
…in config file

Signed-off-by: mansoora <[email protected]>
  • Loading branch information
mansoor17syed committed Jan 9, 2025
1 parent b36e444 commit f929a61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ func (c *ServerConfig) VerifyBootstrap() error {
// VerifyJoinExisting sanity-checks the initial config for join existing cluster
// case and returns an error for things that should never happen.
func (c *ServerConfig) VerifyJoinExisting() error {
// The member has announced its peer urls to the cluster before starting; no need to
// set the configuration again.
if err := c.hasLocalMember(); err != nil {
return err
}
Expand Down

0 comments on commit f929a61

Please sign in to comment.