From 04e20e6e1329bb75de48d8e95253111bbd017713 Mon Sep 17 00:00:00 2001 From: Rahul Ganesh Date: Wed, 11 Dec 2024 13:28:48 -0800 Subject: [PATCH] Fix lint Signed-off-by: Rahul Ganesh --- pkg/clustermanager/cluster_manager_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/clustermanager/cluster_manager_test.go b/pkg/clustermanager/cluster_manager_test.go index 94f0e8a3d49b..f4a2a1e48e65 100644 --- a/pkg/clustermanager/cluster_manager_test.go +++ b/pkg/clustermanager/cluster_manager_test.go @@ -562,7 +562,7 @@ func TestClusterManagerMoveKubectlWaitRetrySuccess(t *testing.T) { m.client.EXPECT().GetMachines(ctx, from, to.Name) m.client.EXPECT().WaitForClusterReady(ctx, from, "1h0m0s", to.Name) m.client.EXPECT().MoveManagement(ctx, from, to, to.Name) - firstTry := m.client.EXPECT().WaitForControlPlaneReady(ctx, to, "15m0s", to.Name).Return(errors.New("executing wait: error: the server doesn't have a resource type \"clusters\"\n")) + firstTry := m.client.EXPECT().WaitForControlPlaneReady(ctx, to, "15m0s", to.Name).Return(errors.New("executing wait: error: the server doesn't have a resource type \"clusters\"")) secondTry := m.client.EXPECT().WaitForControlPlaneReady(ctx, to, "15m0s", to.Name).Return(nil) gomock.InOrder( firstTry,