From b4cd11824585470af443452460fe24fae957f8fd Mon Sep 17 00:00:00 2001 From: Pulkit Kathuria Date: Wed, 14 Aug 2024 22:20:59 +0900 Subject: [PATCH] (cli) messaging --- pkg/card.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/card.go b/pkg/card.go index c87d774..cd486a1 100644 --- a/pkg/card.go +++ b/pkg/card.go @@ -39,7 +39,7 @@ func GetHealthCheckDetails(f *Flags, version string) []gmt.Details { }, { Label: "Next Ping", - Message: fmt.Sprintf("%d seconds", f.HealthCheckEvery), + Message: fmt.Sprintf("%d secs", f.HealthCheckEvery), }, { Label: "Version", @@ -67,7 +67,7 @@ func GetHealthCheckDetails(f *Flags, version string) []gmt.Details { }, { Label: "Monitoring Every", - Message: fmt.Sprintf("%d", f.Every), + Message: fmt.Sprintf("%d secs", f.Every), }, } } @@ -109,8 +109,8 @@ func GetAlertDetails(f *Flags, result *ScanResult) []gmt.Details { } if result.FirstDate != "" || result.LastDate != "" { details = append(details, gmt.Details{ - Label: "From - To", - Message: fmt.Sprintf("%s - %s", result.FirstDate, result.LastDate), + Label: "Time Range", + Message: fmt.Sprintf("%s to %s", result.FirstDate, result.LastDate), }) } return details