mirror of
https://github.com/outbackdingo/labca.git
synced 2026-01-27 10:19:34 +00:00
18 lines
440 B
Diff
18 lines
440 B
Diff
diff --git a/ca/crl.go b/ca/crl.go
|
|
index 513b9deae..f59b1820c 100644
|
|
--- a/ca/crl.go
|
|
+++ b/ca/crl.go
|
|
@@ -137,8 +137,10 @@ func (ci *crlImpl) GenerateCRL(stream grpc.BidiStreamingServer[capb.GenerateCRLR
|
|
builder = strings.Builder{}
|
|
}
|
|
}
|
|
- fmt.Fprint(&builder, "]")
|
|
- ci.log.AuditInfo(builder.String())
|
|
+ if builder.Len() > 0 {
|
|
+ fmt.Fprint(&builder, "]")
|
|
+ ci.log.AuditInfo(builder.String())
|
|
+ }
|
|
}
|
|
|
|
req.Entries = rcs
|