Skip to content

Commit

Permalink
fix: golangci-lint 1.55.2 run error (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
shipengqi authored Nov 10, 2023
1 parent 34c09d7 commit 017b053
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crtutil/tmpl/funcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,8 @@ func NotAfter(end time.Time) string {
return ColorizeTimeString(end, "red")
} else if end.Before(threshold) {
return ColorizeTimeString(end, "yellow")
} else {
return ColorizeTimeString(end, "green")
}
return ColorizeTimeString(end, "green")
}

// KeyUsage returns key usage string from a certificate.
Expand Down

0 comments on commit 017b053

Please sign in to comment.