From 650996a49c19423d71b1907a23ffc317f3a5e5ca Mon Sep 17 00:00:00 2001 From: ianhundere <138915+ianhundere@users.noreply.github.com> Date: Mon, 9 Dec 2024 10:56:36 -0500 Subject: [PATCH] fix: fixes lint errors. Signed-off-by: ianhundere <138915+ianhundere@users.noreply.github.com> --- cmd/certificate_maker/certificate_maker.go | 2 +- cmd/certificate_maker/certificate_maker_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/certificate_maker/certificate_maker.go b/cmd/certificate_maker/certificate_maker.go index a27495259..696cbaf37 100644 --- a/cmd/certificate_maker/certificate_maker.go +++ b/cmd/certificate_maker/certificate_maker.go @@ -102,7 +102,7 @@ func init() { createCmd.Flags().StringVar(&intermediateCert, "intermediate-cert", "intermediate.pem", "Output path for intermediate certificate") } -func runCreate(cmd *cobra.Command, args []string) error { +func runCreate(_ *cobra.Command, _ []string) error { ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second) defer cancel() diff --git a/cmd/certificate_maker/certificate_maker_test.go b/cmd/certificate_maker/certificate_maker_test.go index c6765e481..bb9aceb37 100644 --- a/cmd/certificate_maker/certificate_maker_test.go +++ b/cmd/certificate_maker/certificate_maker_test.go @@ -246,7 +246,7 @@ func TestCreateCommand(t *testing.T) { // Create a test command cmd := &cobra.Command{ Use: "test", - RunE: func(cmd *cobra.Command, args []string) error { + RunE: func(_ *cobra.Command, _ []string) error { return nil }, }