Skip to content

Commit

Permalink
Remove comments from the node pool file that were not used
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro J. Nuñez Madrazo <alejandrojnm@gmail.com>
  • Loading branch information
alejandrojnm committed Oct 4, 2023
1 parent 9e80d53 commit 6b380ba
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions civo/resource_kubernetes_cluster_nodepool.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,6 @@ func resourceKubernetesClusterNodePoolUpdate(ctx context.Context, d *schema.Reso
return diag.Errorf("[INFO] error getting kubernetes cluster: %s", clusterID)
}

// Add log to check the cluster
log.Printf("[INFO] kubernetes cluster pool %+v", getKubernetesCluster)

if d.HasChange("node_count") {
poolUpdate.Count = d.Get("node_count").(int)
}
Expand Down Expand Up @@ -323,9 +320,7 @@ func resourceKubernetesClusterNodePoolUpdate(ctx context.Context, d *schema.Reso
}
poolUpdate.Taints = nodePoolTains
} else {
log.Printf("[INFO] fuera de tains else")
poolUpdate.Taints = []corev1.Taint{}
log.Printf("[INFO] fuera de tains else data: %+v", poolUpdate)
}
}

Expand Down

0 comments on commit 6b380ba

Please sign in to comment.