Skip to content

Commit

Permalink
Merge pull request #1174 from atc0005/reduce-verbosity-of-sanslistval…
Browse files Browse the repository at this point in the history
…idationresult-string-method

Reduce verbosity of the `SANsListValidationResult.String` method
  • Loading branch information
atc0005 authored Dec 16, 2024
2 parents 9e74abc + 8001616 commit fa7f57a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions internal/certs/validation-sans.go
Original file line number Diff line number Diff line change
Expand Up @@ -426,9 +426,14 @@ func (slvr SANsListValidationResult) String() string {
slvr.Overview(),
)

if slvr.StatusDetail() != "" {
output += "; " + slvr.StatusDetail()
}
// This is too verbose for "human-readable" format. We can rely on the
// caller to use the StatusDetail() method directly or indirectly via the
// Report() method to obtain this.
//
//
// if slvr.StatusDetail() != "" {
// output += "; " + slvr.StatusDetail()
// }

return output

Expand Down

0 comments on commit fa7f57a

Please sign in to comment.