From f7fd7548a20837ba0c4de81ed9a292f19e310fa4 Mon Sep 17 00:00:00 2001 From: torbenw Date: Tue, 20 Feb 2024 19:57:18 +0100 Subject: [PATCH] Use the same default port for the HTTP API across serve and serve-testing --- pkg/cmd/testing.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cmd/testing.go b/pkg/cmd/testing.go index 808e2d232c..794f360ab8 100644 --- a/pkg/cmd/testing.go +++ b/pkg/cmd/testing.go @@ -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")