Skip to content

Commit

Permalink
fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
xetys committed May 3, 2018
1 parent 5198738 commit 22b4e85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/cluster_add_external_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ An external server must meet the following requirements:
cidrPrefix := clustermanager.PrivateIPPrefix(cluster.NodeCIDR)
externalNode.PrivateIPAddress = fmt.Sprintf("%s.%d", cidrPrefix, nextNode)
coordinator := pkg.NewProgressCoordinator()
hetznerProvider := hetzner.NewHetznerProvider(cluster.Name, AppConf.Client, AppConf.Context, AppConf.CurrentContext.Token, cluster.NodeCIDR)
hetznerProvider := hetzner.NewHetznerProvider(AppConf.Context, AppConf.Client, AppConf.CurrentContext.Token)
hetznerProvider.InitCluster(cluster.Name, cluster.NodeCIDR)
hetznerProvider.SetNodes(cluster.Nodes)
clusterManager := clustermanager.NewClusterManagerFromCluster(*cluster, hetznerProvider, sshClient, coordinator)

Expand Down

0 comments on commit 22b4e85

Please sign in to comment.