From f54278cdfe349d43d10274f7b2037fd3c5296f8e Mon Sep 17 00:00:00 2001 From: Garrett Delfosse Date: Mon, 29 Jan 2024 11:50:35 -0500 Subject: [PATCH] fix: respect wait flag on ping (#11896) --- cli/ping.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/ping.go b/cli/ping.go index 2ba07740c3..fa0d0472a0 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++