From 0453f5b611ae7878c4475da566484a790d84bd74 Mon Sep 17 00:00:00 2001 From: Moritz Sanft <58110325+msanft@users.noreply.github.com> Date: Thu, 17 Oct 2024 14:45:48 +0200 Subject: [PATCH] e2e: fix malicious join test (#3439) --- e2e/malicious-join/malicious-join.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/malicious-join/malicious-join.go b/e2e/malicious-join/malicious-join.go index 96a3076f0..7e416242a 100644 --- a/e2e/malicious-join/malicious-join.go +++ b/e2e/malicious-join/malicious-join.go @@ -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 }