Skip to content

Commit

Permalink
(cli) messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincobain2000 committed Aug 14, 2024
1 parent b55a8a1 commit b4cd118
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/card.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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),
},
}
}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b4cd118

Please sign in to comment.