diff --git a/cmd/bad-key-revoker/main.go b/cmd/bad-key-revoker/main.go index 43d5dcf3807..c333b88c368 100644 --- a/cmd/bad-key-revoker/main.go +++ b/cmd/bad-key-revoker/main.go @@ -370,7 +370,7 @@ func (bkr *badKeyRevoker) invoke(ctx context.Context) (bool, error) { } } - serials := make([]string, 0) + var serials []string for _, cert := range unrevokedCerts { serials = append(serials, cert.Serial) }