From bbc515270b1a073eeda18623dff48421fe54db56 Mon Sep 17 00:00:00 2001 From: Artur Reznikov Date: Wed, 26 Jun 2024 15:07:42 -0700 Subject: [PATCH] update aws example --- examples/aws.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/examples/aws.go b/examples/aws.go index 3ea3e92..9c5dd8c 100644 --- a/examples/aws.go +++ b/examples/aws.go @@ -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)