Skip to content

Commit 1066358

Browse files
committed
add WARNING header to warnings
1 parent 8ff38ea commit 1066358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/certmin/util.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func getCerts(input string, sb *strings.Builder) ([]*x509.Certificate, error) {
8080
if remote {
8181
certs, warn, err = certmin.RetrieveCertsFromAddr(loc, timeOut)
8282
if warn != nil {
83-
sb.WriteString(color.YellowString(warn.Error()) + "\n\n")
83+
sb.WriteString(color.YellowString("WARNING: " + warn.Error()) + "\n\n")
8484
}
8585
if err != nil {
8686
return nil, err

0 commit comments

Comments
 (0)