feedback: leasecandidate clients

This commit is contained in:
Jefftree
2024-07-23 14:28:08 +00:00
parent 68226b0501
commit fac7581640
9 changed files with 64 additions and 82 deletions

View File

@@ -199,8 +199,8 @@ func (t cleTest) createAndRunFakeLegacyController(name string, namespace string,
func (t cleTest) createAndRunFakeController(name string, namespace string, targetLease string, binaryVersion string, compatibilityVersion string) {
identityLease, _, err := leaderelection.NewCandidate(
t.clientset,
name,
namespace,
name,
targetLease,
binaryVersion,
compatibilityVersion,