Skip to content

Commit

Permalink
*: not use a fixed port number (#8506)
Browse files Browse the repository at this point in the history
ref #7969

Signed-off-by: Ryan Leung <rleungx@gmail.com>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
  • Loading branch information
rleungx and ti-chi-bot[bot] authored Aug 8, 2024
1 parent 56f082d commit 7741924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/pd-ut/alloc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"go.uber.org/zap"
)

var statusAddress = flag.String("status-addr", "0.0.0.0:20180", "status address")
var statusAddress = flag.String("status-addr", "0.0.0.0:0", "status address")

func RunHTTPServer() *http.Server {
err := os.Setenv(tempurl.AllocURLFromUT, fmt.Sprintf("http://%s/alloc", *statusAddress))
Expand Down

0 comments on commit 7741924

Please sign in to comment.