1
0

refactor(logs): show timeout

This commit is contained in:
dump_stack() 2024-02-20 15:07:02 +00:00
parent ed34797dc0
commit 592fdc8b83
Signed by: dump_stack
GPG Key ID: C9905BA72B5E02BB

View File

@ -361,7 +361,7 @@ func (q *System) Stop() {
}
func (q *System) WaitForSSH(timeout time.Duration) error {
q.Log.Debug().Msg("wait for ssh")
q.Log.Debug().Msgf("wait for ssh for %v", timeout)
for start := time.Now(); time.Since(start) < timeout; {
time.Sleep(time.Second / 4)