From d0b87c1cf24bf81f44117d14e5fd3ca1749b6756 Mon Sep 17 00:00:00 2001 From: Vishal Anarse Date: Mon, 6 Jun 2022 14:10:55 +0530 Subject: [PATCH] Fix node group tests Signed-off-by: Vishal Anarse --- .../cloudprovider/civo/civo_node_group_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cluster-autoscaler/cloudprovider/civo/civo_node_group_test.go b/cluster-autoscaler/cloudprovider/civo/civo_node_group_test.go index e853519d5bfe..14f81c275f20 100644 --- a/cluster-autoscaler/cloudprovider/civo/civo_node_group_test.go +++ b/cluster-autoscaler/cloudprovider/civo/civo_node_group_test.go @@ -56,7 +56,7 @@ func TestNodeGroup_IncreaseSize(t *testing.T) { client.On("UpdateKubernetesClusterPool", ng.clusterID, ng.id, - &civogo.KubernetesClusterPoolConfig{ + &civogo.KubernetesClusterPoolUpdateConfig{ Count: newCount, }, ).Return( @@ -84,7 +84,7 @@ func TestNodeGroup_IncreaseSize(t *testing.T) { client.On("UpdateKubernetesClusterPool", ng.clusterID, ng.id, - &civogo.KubernetesClusterPoolConfig{ + &civogo.KubernetesClusterPoolUpdateConfig{ Count: newCount, }, ).Return( @@ -153,7 +153,7 @@ func TestNodeGroup_DecreaseTargetSize(t *testing.T) { client.On("UpdateKubernetesClusterPool", ng.clusterID, ng.id, - &civogo.KubernetesClusterPoolConfig{ + &civogo.KubernetesClusterPoolUpdateConfig{ Count: newCount, }, ).Return(