Skip to content

Commit

Permalink
e2e: fix malicious join test (#3439)
Browse files Browse the repository at this point in the history
  • Loading branch information
msanft authored Oct 17, 2024
1 parent 50df354 commit 0453f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/malicious-join/malicious-join.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,10 @@ func (j *maliciousJoiner) join(ctx context.Context) (*joinproto.IssueJoinTicketR
IsControlPlane: false,
}
res, err := protoClient.IssueJoinTicket(ctx, req)
j.logger.Debug("Got join ticket response", "apiServerEndpoint", res.ApiServerEndpoint, "kubernetesVersion", res.KubernetesVersion)
if err != nil {
return nil, fmt.Errorf("issuing join ticket: %w", err)
}
j.logger.Debug("Got join ticket response", "apiServerEndpoint", res.ApiServerEndpoint, "kubernetesVersion", res.KubernetesVersion)

return res, nil
}
Expand Down

0 comments on commit 0453f5b

Please sign in to comment.