Skip to content

Commit

Permalink
Fix use of wrong control protocol client field. (#39885)
Browse files Browse the repository at this point in the history
Co-authored-by: Julien Lind <[email protected]>
  • Loading branch information
cmacknz and jlind23 authored Jun 17, 2024
1 parent 8416710 commit df1a0d7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ type TestConfig struct {
TestFile string `config:"TestFile" yaml:"TestFile"`
}

func getCreds(port int) (*proto.StartUpInfo, error) {
func getCreds(port int) (*proto.ConnInfo, error) {
c, err := net.Dial("tcp", fmt.Sprintf("127.0.0.1:%d", port))
if err != nil {
return nil, err
Expand All @@ -113,7 +113,7 @@ func getCreds(port int) (*proto.StartUpInfo, error) {
if err != nil {
return nil, err
}
var connInfo proto.StartUpInfo
var connInfo proto.ConnInfo
err = protobuf.Unmarshal(buf[:n], &connInfo)
if err != nil {
return nil, err
Expand Down

0 comments on commit df1a0d7

Please sign in to comment.