From 4ea659b81cbf8e794893f1b638c43a51694bd724 Mon Sep 17 00:00:00 2001 From: powerkimhub Date: Sat, 3 Sep 2022 07:34:36 +0000 Subject: [PATCH] Fix the CreateCluster API's args --- .../cloud-driver/interfaces/resources/ClusterHandler.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cloud-control-manager/cloud-driver/interfaces/resources/ClusterHandler.go b/cloud-control-manager/cloud-driver/interfaces/resources/ClusterHandler.go index cb43ae70e..655e1f579 100644 --- a/cloud-control-manager/cloud-driver/interfaces/resources/ClusterHandler.go +++ b/cloud-control-manager/cloud-driver/interfaces/resources/ClusterHandler.go @@ -92,7 +92,7 @@ type AddonsInfo struct { type ClusterHandler interface { //------ Cluster Management - CreateCluster(clusterReqInfo ClusterInfo, nodeReqInfo NodeGroupInfo) (ClusterInfo, error) + CreateCluster(clusterReqInfo ClusterInfo) (ClusterInfo, error) ListCluster() ([]*ClusterInfo, error) GetCluster(clusterIID IID) (ClusterInfo, error) DeleteCluster(clusterIID IID) (bool, error) @@ -101,6 +101,7 @@ type ClusterHandler interface { AddNodeGroup(clusterIID IID, nodeGroupReqInfo NodeGroupInfo) (NodeGroupInfo, error) ListNodeGroup(clusterIID IID) ([]*NodeGroupInfo, error) GetNodeGroup(clusterIID IID, nodeGroupIID IID) (NodeGroupInfo, error) + SetNodeGroupAutoScaling(clusterIID IID, nodeGroupIID IID, on bool) (bool, error) ChangeNodeGroupScaling(clusterIID IID, nodeGroupIID IID, DesiredNodeSize int, MinNodeSize int, MaxNodeSize int) (NodeGroupInfo, error) RemoveNodeGroup(clusterIID IID, nodeGroupIID IID) (bool, error)