Skip to content

Commit

Permalink
check-cert: adjust text for remaining validity
Browse files Browse the repository at this point in the history
Remaining validity: 84 day(s) (Jan 14 14:23:17 2024 +0000)
->
Server certificate validity: 84 day(s)

CMK-17764

Change-Id: I81beb66196473c4ca24660c0a29f032e88b996e1
  • Loading branch information
loocars committed Dec 13, 2024
1 parent 04058a6 commit 7436eb0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/site/check-cert/src/checker/certificate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,8 @@ fn check_validity_not_after(
Some(time_to_expiration) => levels.check(
time_to_expiration,
OutputType::Summary(format!(
"Remaining validity: {} day(s) ({})",
"Server certificate validity: {} day(s)",
time_to_expiration.whole_days(),
not_after
)),
LevelsCheckerArgs::builder()
.label("certificate_remaining_validity")
Expand Down

0 comments on commit 7436eb0

Please sign in to comment.