fix: remove duplicate Registering print, wait for registration
This commit is contained in:
parent
e4b1021c52
commit
7f7bff15ca
1 changed files with 0 additions and 1 deletions
|
|
@ -82,7 +82,6 @@ func InstallNode(node state.Node, apiToken, apiHost, labels string) error {
|
|||
fmt.Printf("[%s] Configuring NGINX module...\n", node.Name)
|
||||
exec.Command("bash", filepath.Join(DeployTo, "pick-module.sh")).Run()
|
||||
|
||||
fmt.Printf("[%s] Registering node...\n", node.Name)
|
||||
fmt.Printf("[%s] Registering node (this may take 30-60s)...\n", node.Name)
|
||||
registerCmd := exec.Command("bash", "-c",
|
||||
fmt.Sprintf("source %s/env.list 2>/dev/null; %s/register-node job:register -token '%s' -host '%s'",
|
||||
|
|
|
|||
Loading…
Reference in a new issue