diff --git a/tools/leaderelection/leasecandidate_test.go b/tools/leaderelection/leasecandidate_test.go index d1378228b..92dc199f0 100644 --- a/tools/leaderelection/leasecandidate_test.go +++ b/tools/leaderelection/leasecandidate_test.go @@ -82,8 +82,8 @@ func TestLeaseCandidateAck(t *testing.T) { candidate, _, err := NewCandidate( client, - tc.candidateName, tc.candidateNamespace, + tc.candidateName, tc.leaseName, tc.binaryVersion, tc.emulationVersion,