From 3e49b88bb93b9b63fcd8e4da6f8aced6fe720246 Mon Sep 17 00:00:00 2001 From: uzair Date: Fri, 29 Mar 2024 12:14:50 +0530 Subject: [PATCH] rm cmnts --- fake_client.go | 2 +- kubernetes.go | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/fake_client.go b/fake_client.go index 079b4b9..29a9c1e 100644 --- a/fake_client.go +++ b/fake_client.go @@ -915,7 +915,7 @@ func (c *FakeClient) CreateNetwork(config NetworkConfig) (*NetworkResult, error) // Prepare the new Network object newNetwork := Network{ ID: networkID, - Name: config.Label, // Assuming Name maps to Label in NetworkConfig + Name: config.Label, Default: config.Default == "true", CIDR: config.CIDRv4, Label: config.Label, diff --git a/kubernetes.go b/kubernetes.go index 1226ed5..960deac 100644 --- a/kubernetes.go +++ b/kubernetes.go @@ -149,13 +149,13 @@ type KubernetesClusterConfig struct { // KubernetesClusterPoolConfig is used to create a new cluster pool type KubernetesClusterPoolConfig struct { - Region string `json:"region,omitempty"` - ID string `json:"id,omitempty"` - Count int `json:"count,omitempty"` - Size string `json:"size,omitempty"` - //Labels map[string]string `json:"labels,omitempty"` - //Taints []corev1.Taint `json:"taints"` - PublicIPNodePool bool `json:"public_ip_node_pool,omitempty"` + Region string `json:"region,omitempty"` + ID string `json:"id,omitempty"` + Count int `json:"count,omitempty"` + Size string `json:"size,omitempty"` + Labels map[string]string `json:"labels,omitempty"` + Taints []corev1.Taint `json:"taints"` + PublicIPNodePool bool `json:"public_ip_node_pool,omitempty"` } // KubernetesPlanConfiguration is a value within a configuration for