Skip to content

Commit

Permalink
rm cmnts
Browse files Browse the repository at this point in the history
  • Loading branch information
uzaxirr committed Mar 29, 2024
1 parent 86268ff commit 3e49b88
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion fake_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
14 changes: 7 additions & 7 deletions kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e49b88

Please sign in to comment.