From 462c10d041436e343bafe2dfdefc2e9666636a99 Mon Sep 17 00:00:00 2001 From: Gabriel Parreiras Date: Wed, 20 Nov 2024 10:30:58 +0000 Subject: [PATCH] Formatting Signed-off-by: Gabriel Parreiras --- go/vt/vttest/vtprocess.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/go/vt/vttest/vtprocess.go b/go/vt/vttest/vtprocess.go index 3c727397e3b..2993190b009 100644 --- a/go/vt/vttest/vtprocess.go +++ b/go/vt/vttest/vtprocess.go @@ -52,7 +52,7 @@ type VtProcess struct { Env []string BindAddress string BindAddressMysql string - BindAddressGprc string + BindAddressGprc string Port int PortGrpc int HealthCheck HealthChecker @@ -206,12 +206,12 @@ func VtcomboProcess(environment Environment, args *Config, mysql MySQLManager) ( if args.VtComboBindAddress != "" { vtcomboBindAddress = args.VtComboBindAddress } - - grpcBindAddress := "127.0.0.1" + + grpcBindAddress := "127.0.0.1" if servenv.GRPCBindAddress() != "" { grpcBindAddress = servenv.GRPCBindAddress() } - + mysqlAddress := "127.0.0.1" if args.MySQLServerBindAddress != "" { mysqlAddress = args.MySQLServerBindAddress @@ -223,7 +223,7 @@ func VtcomboProcess(environment Environment, args *Config, mysql MySQLManager) ( LogDirectory: environment.LogDirectory(), Binary: environment.BinaryPath("vtcombo"), BindAddress: vtcomboBindAddress, - BindAddressGprc: grpcBindAddress, + BindAddressGprc: grpcBindAddress, BindAddressMysql: mysqlAddress, Port: environment.PortForProtocol("vtcombo", ""), PortGrpc: environment.PortForProtocol("vtcombo", "grpc"),