Skip to content

Commit

Permalink
rm debug
Browse files Browse the repository at this point in the history
  • Loading branch information
arturrez committed Nov 15, 2023
1 parent bb7c4d3 commit 5c27a26
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmd/nodecmd/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,21 +251,17 @@ func createNodes(_ *cobra.Command, args []string) error {
for _, host := range hosts {
wg.Add(1)
go func(nodeResults *models.NodeResults, host models.Host) {
fmt.Println("------------------0")
defer wg.Done()
host.Connect(constants.SSHScriptTimeout)

Check failure on line 255 in cmd/nodecmd/create.go

View workflow job for this annotation

GitHub Actions / Lint

Error return value of `host.Connect` is not checked (errcheck)
fmt.Println("------------------1")
defer host.Disconnect()

Check failure on line 256 in cmd/nodecmd/create.go

View workflow job for this annotation

GitHub Actions / Lint

Error return value of `host.Disconnect` is not checked (errcheck)
if err := provideStakingCertAndKey(host); err != nil {
nodeResults.AddResult(host.NodeID, nil, err)
return
}
fmt.Println("------------------2")
if err := ssh.RunSSHSetupNode(host, app.Conf.GetConfigPath(), avalancheGoVersion); err != nil {
nodeResults.AddResult(host.NodeID, nil, err)
return
}
fmt.Println("------------------3")
if err := ssh.RunSSHSetupBuildEnv(host); err != nil {
nodeResults.AddResult(host.NodeID, nil, err)
return
Expand Down

0 comments on commit 5c27a26

Please sign in to comment.