Skip to content

Commit

Permalink
improve tiup timeout message
Browse files Browse the repository at this point in the history
  • Loading branch information
nexustar authored and kaaaaaaang committed Jan 29, 2023
1 parent 71405f3 commit 876590f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/exec/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func cmdCheckUpdate(component string, version utils.Version, timeoutSec int) {
// timeout for check update
go func() {
time.Sleep(time.Duration(timeoutSec) * time.Second)
updateC <- color.RedString("timeout!")
updateC <- color.YellowString("timeout(%ds)!", timeoutSec)
}()

go func() {
Expand Down

0 comments on commit 876590f

Please sign in to comment.