Skip to content

Commit

Permalink
Merge pull request #565 from MUzairS15/master
Browse files Browse the repository at this point in the history
update error
  • Loading branch information
Mohd Uzair authored Jul 29, 2024
2 parents 9c14d19 + 5497662 commit 0eacb42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/broker/broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func GetEndpoint(ctx context.Context, m *mesheryv1alpha1.Broker, client *kuberne
if !utils.TcpCheck(endpoint.External, &utils.MockOptions{}) && endpoint.External.Address != "localhost" {
endpoint.External.Port = nodePort
if !utils.TcpCheck(endpoint.External, &utils.MockOptions{}) {
return ErrGettingEndpoint(err)
return ErrGettingEndpoint(fmt.Errorf("unable to connect to endpoint at %v", endpoint.External))
}
}
}
Expand Down

0 comments on commit 0eacb42

Please sign in to comment.