From 4ba8c39a0a5ef5b5a941552ca4873baf20a641ad Mon Sep 17 00:00:00 2001 From: Sivaanand Murugesan Date: Mon, 1 Jul 2024 15:24:39 +0530 Subject: [PATCH] removed unused var --- client/cluster_gke.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cluster_gke.go b/client/cluster_gke.go index ca8d0d77..f56997e5 100644 --- a/client/cluster_gke.go +++ b/client/cluster_gke.go @@ -26,7 +26,7 @@ func (h *V1Client) GetCloudConfigGke(configUID string) (*models.V1GcpCloudConfig return success.Payload, nil } -func (h *V1Client) CreateMachinePoolGke(cloudConfigId, ClusterContext string, machinePool *models.V1GcpMachinePoolConfigEntity) error { +func (h *V1Client) CreateMachinePoolGke(cloudConfigId string, machinePool *models.V1GcpMachinePoolConfigEntity) error { params := clientV1.NewV1CloudConfigsGkeMachinePoolCreateParamsWithContext(h.ctx).WithConfigUID(cloudConfigId).WithBody(machinePool) _, err := h.Client.V1CloudConfigsGkeMachinePoolCreate(params) return err