Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

Commit

Permalink
Fixup comment
Browse files Browse the repository at this point in the history
Signed-off-by: Chuck Ha <chuckh@vmware.com>
  • Loading branch information
chuckha committed Jun 21, 2019
1 parent 333da2a commit bfe1e2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kind/actions/cluster_actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ func GetNodeRefUID(clusterName, nodeName string) (string, error) {
return strings.TrimSpace(lines[0]), nil
}

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

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

0 comments on commit bfe1e2a

Please sign in to comment.