Skip to content

Commit bfe1e2a

Browse files
committed
Fixup comment
Signed-off-by: Chuck Ha <[email protected]>
1 parent 333da2a commit bfe1e2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kind/actions/cluster_actions.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ func GetNodeRefUID(clusterName, nodeName string) (string, error) {
306306
return strings.TrimSpace(lines[0]), nil
307307
}
308308

309-
// DeleteClusterNode will remove
309+
// DeleteClusterNode will remove the kubernetes node from the list of nodes (during a kubectl get nodes).
310310
func DeleteClusterNode(clusterName, nodeName string) error {
311311
// get all control plane nodes
312312
allControlPlanes, err := nodes.List(
@@ -339,7 +339,7 @@ func DeleteClusterNode(clusterName, nodeName string) error {
339339
return nil
340340
}
341341

342-
// KubeadmReset will run `kubeadm reset` on the control plane to remove
342+
// KubeadmReset will run `kubeadm reset` on the control plane to remove.
343343
func KubeadmReset(clusterName, nodeName string) error {
344344
nodeList, err := nodes.List(
345345
fmt.Sprintf("label=%s=%s", constants.ClusterLabelKey, clusterName),

0 commit comments

Comments
 (0)