You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ho...@apache.org on 2022/11/06 14:15:15 UTC
[skywalking-infra-e2e] branch add-command-option updated: fix interval
This is an automated email from the ASF dual-hosted git repository.
hoshea pushed a commit to branch add-command-option
in repository https://gitbox.apache.org/repos/asf/skywalking-infra-e2e.git
The following commit(s) were added to refs/heads/add-command-option by this push:
new e62f1e7 fix interval
e62f1e7 is described below
commit e62f1e7ba9f00034d13e566bde02884af3fc97d1
Author: Hoshea <fg...@gmail.com>
AuthorDate: Sun Nov 6 22:15:03 2022 +0800
fix interval
---
commands/verify/verify.go | 2 +-
pkg/output/printer.go | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/commands/verify/verify.go b/commands/verify/verify.go
index 7ee6950..c62d726 100644
--- a/commands/verify/verify.go
+++ b/commands/verify/verify.go
@@ -214,8 +214,8 @@ func verifyCasesSerially(verify *config.Verify, verifyInfo *verifyInfo) error {
printer.UpdateText(fmt.Sprintf("failed to verify %v, will continue retry:", caseName(v)))
} else {
printer.UpdateText(fmt.Sprintf("failed to verify %v, retry [%d/%d]", caseName(v), current, verifyInfo.retryCount))
- time.Sleep(verifyInfo.interval)
}
+ time.Sleep(verifyInfo.interval)
} else {
summary.errNum++
printer.UpdateText(fmt.Sprintf("failed to verify %v, retry [%d/%d]", caseName(v), current, verifyInfo.retryCount))
diff --git a/pkg/output/printer.go b/pkg/output/printer.go
index 26eb742..6cac316 100644
--- a/pkg/output/printer.go
+++ b/pkg/output/printer.go
@@ -24,7 +24,6 @@ var _ Printer = &printer{}
func NewPrinter(batchOutput bool) Printer {
spinner := pterm.DefaultSpinner.WithShowTimer(false)
- spinner.MessageStyle = &pterm.Style{pterm.FgCyan}
pterm.Error.Prefix = pterm.Prefix{
Text: "DETAILS",
Style: &pterm.ThemeDefault.ErrorPrefixStyle,