Skip to content

Commit

Permalink
Fix incorrect comments (#7268)
Browse files Browse the repository at this point in the history
Signed-off-by: Magiceses <magiceses0118@gmail.com>
  • Loading branch information
magiceses committed Apr 12, 2024
1 parent 140bc87 commit 968899f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/extkingpin/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func validateAddrs(addrs addressSlice) error {
return nil
}

// RegisterCommonObjStoreFlags register flags commonly used to configure http servers with.
// RegisterHTTPFlags register flags commonly used to configure http servers with.
func RegisterHTTPFlags(cmd FlagClause) (httpBindAddr *string, httpGracePeriod *model.Duration, httpTLSConfig *string) {
httpBindAddr = cmd.Flag("http-address", "Listen host:port for HTTP endpoints.").Default("0.0.0.0:10902").String()
httpGracePeriod = ModelDuration(cmd.Flag("http-grace-period", "Time to wait after an interrupt received for HTTP Server.").Default("2m")) // by default it's the same as query.timeout.
Expand Down

0 comments on commit 968899f

Please sign in to comment.