From 4742dba0a2aa9971415006830140a3491002551e Mon Sep 17 00:00:00 2001 From: Garrett Delfosse Date: Mon, 29 Jan 2024 16:08:29 +0000 Subject: [PATCH] fix: respect wait flag on ping --- cli/ping.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/ping.go b/cli/ping.go index 2ba07740c3d80..fa0d0472a06fd 100644 --- a/cli/ping.go +++ b/cli/ping.go @@ -72,7 +72,7 @@ func (r *RootCmd) ping() *clibase.Cmd { start := time.Now() for { if n > 0 { - time.Sleep(time.Second) + time.Sleep(pingWait) } n++