Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
  • Loading branch information
frouioui committed Jul 31, 2024
1 parent b86f5c6 commit 46560c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/test/endtoend/cluster/vtctld_process.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (vtctld *VtctldProcess) Setup(cell string, extraArgs ...string) (err error)
"--grpc_port", fmt.Sprintf("%d", vtctld.GrpcPort),
)

if v, err := GetMajorVersion("vtgate"); err != nil {
if v, err := GetMajorVersion("vtctld"); err != nil {
return err
} else if v >= 18 {
vtctld.proc.Args = append(vtctld.proc.Args, "--bind-address", "127.0.0.1")
Expand Down

0 comments on commit 46560c8

Please sign in to comment.