From 88405f3f3cab893e2e7f60ba3cd990836387db0e Mon Sep 17 00:00:00 2001 From: Aaron Gable Date: Mon, 25 Nov 2024 11:24:45 -0800 Subject: [PATCH] Update cmd/bad-key-revoker/main.go Co-authored-by: Jacob Hoffman-Andrews --- cmd/bad-key-revoker/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }