From 2cf34e9ac82cef4db01faed04e905a0e0d145975 Mon Sep 17 00:00:00 2001 From: phm07 <22707808+phm07@users.noreply.github.com> Date: Mon, 26 Aug 2024 16:15:59 +0200 Subject: [PATCH] chore: fix build error in 0223f7d (#850) The CI didn't catch this error, so it ended up in main. --- internal/cmd/certificate/retry.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/cmd/certificate/retry.go b/internal/cmd/certificate/retry.go index d73d8537..cc7e8a01 100644 --- a/internal/cmd/certificate/retry.go +++ b/internal/cmd/certificate/retry.go @@ -11,7 +11,7 @@ import ( ) var RetryCmd = base.Cmd{ - BaseCobraCommand: func(client hcapi2.Client) *cobra.Command { + BaseCobraCommand: func(_ hcapi2.Client) *cobra.Command { return &cobra.Command{ Use: "retry ", Short: "Retry a managed certificate's issuance", @@ -34,7 +34,7 @@ var RetryCmd = base.Cmd{ return err } - if err := s.WaitForActions(cmd, s, action); err != nil { + if err := s.WaitForActions(s, cmd, action); err != nil { return err }