-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli: fix bug in missing-flag warning
When the server starts, the user is supposed to see a warning if neither --listen-addr nor --advertise-addr flags are specified. Currently, even if --advertise-addr is specified, the warning is displayed. This patch fixes the small bug causing this behavior. Fixes: #103897 Epic: CRDB-28249 Release note (bug fix): Warning message for missing --advertise-addr flag is no longer displayed when the flag is specified upon server start.
- Loading branch information
1 parent
fdf0690
commit ab8b458
Showing
2 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters