Skip to content

Commit

Permalink
update aws example
Browse files Browse the repository at this point in the history
  • Loading branch information
arturrez committed Jun 26, 2024
1 parent f6c3866 commit bbc5152
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions examples/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,7 @@ func main() {
if err != nil {
panic(err)
}
// Wait for the monitoring host to be ready
if err := monitoringHosts[0].WaitForSSHShell(sshTimeout); err != nil {
panic(err)
}
fmt.Println("Monitoring host SSH shell ready to execute commands")
// Register nodes with monitoring host
if err := monitoringHosts[0].RegisterWithMonitoring(hosts, ""); err != nil {
panic(err)
Expand Down

0 comments on commit bbc5152

Please sign in to comment.