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

Commit

Permalink
return an error not nil
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 15, 2019
1 parent d790743 commit e892e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kind/actions/cluster_actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import (
func KubeadmJoinControlPlane(clusterName string, node *nodes.Node) error {
allNodes, err := nodes.List(fmt.Sprintf("label=%s=%s", constants.ClusterLabelKey, clusterName))
if err != nil {
return nil
return err
}

// get the join address
Expand Down

0 comments on commit e892e4b

Please sign in to comment.