Skip to content

Commit

Permalink
Merge pull request #1749 from torbenw/change-http-ports-for-serve-tes…
Browse files Browse the repository at this point in the history
…ting

Use the same default port for the HTTP API across serve and serve-testing
  • Loading branch information
vroldanbet authored Feb 23, 2024
2 parents 4c1c50d + f7fd754 commit 46fd98f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cmd/testing.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ func RegisterTestingFlags(cmd *cobra.Command, config *testserver.Config) {
util.RegisterGRPCServerFlags(cmd.Flags(), &config.GRPCServer, "grpc", "gRPC", ":50051", true)
util.RegisterGRPCServerFlags(cmd.Flags(), &config.ReadOnlyGRPCServer, "readonly-grpc", "read-only gRPC", ":50052", true)

util.RegisterHTTPServerFlags(cmd.Flags(), &config.HTTPGateway, "http", "http", ":8081", false)
util.RegisterHTTPServerFlags(cmd.Flags(), &config.ReadOnlyHTTPGateway, "readonly-http", "read-only HTTP", ":8082", false)
util.RegisterHTTPServerFlags(cmd.Flags(), &config.HTTPGateway, "http", "http", ":8443", false)
util.RegisterHTTPServerFlags(cmd.Flags(), &config.ReadOnlyHTTPGateway, "readonly-http", "read-only HTTP", ":8444", false)

cmd.Flags().StringSliceVar(&config.LoadConfigs, "load-configs", []string{}, "configuration yaml files to load")

Expand Down

0 comments on commit 46fd98f

Please sign in to comment.