diff --git a/cli/internal/cmd/log.go b/cli/internal/cmd/log.go index 508184b80..741a719b8 100644 --- a/cli/internal/cmd/log.go +++ b/cli/internal/cmd/log.go @@ -14,7 +14,7 @@ import ( ) type debugLog interface { - Debug(format string, args ...any) + Debug(msg string, args ...any) } func newCLILogger(cmd *cobra.Command) (debugLog, error) { diff --git a/internal/attestation/attestation.go b/internal/attestation/attestation.go index 34ced9e43..d5e458012 100644 --- a/internal/attestation/attestation.go +++ b/internal/attestation/attestation.go @@ -45,8 +45,8 @@ const ( // Logger is a logger used to print warnings and infos during attestation validation. type Logger interface { - Info(format string, args ...any) - Warn(format string, args ...any) + Info(msg string, args ...any) + Warn(msg string, args ...any) } // NOPLogger is a no-op implementation of [Logger]. diff --git a/internal/constellation/apply.go b/internal/constellation/apply.go index c871970b8..bbd61cf8c 100644 --- a/internal/constellation/apply.go +++ b/internal/constellation/apply.go @@ -51,7 +51,7 @@ type licenseChecker interface { } type debugLog interface { - Debug(format string, args ...any) + Debug(msg string, args ...any) } // NewApplier creates a new Applier. diff --git a/internal/constellation/helm/helm.go b/internal/constellation/helm/helm.go index 53da92718..ab0438214 100644 --- a/internal/constellation/helm/helm.go +++ b/internal/constellation/helm/helm.go @@ -53,7 +53,7 @@ const ( ) type debugLog interface { - Debug(format string, args ...any) + Debug(msg string, args ...any) } // Client is a Helm client to apply charts. diff --git a/internal/constellation/kubecmd/kubecmd.go b/internal/constellation/kubecmd/kubecmd.go index 3f770c348..ca5b9a774 100644 --- a/internal/constellation/kubecmd/kubecmd.go +++ b/internal/constellation/kubecmd/kubecmd.go @@ -502,5 +502,5 @@ type kubectlInterface interface { } type debugLog interface { - Debug(format string, args ...any) + Debug(msg string, args ...any) } diff --git a/internal/verify/verify.go b/internal/verify/verify.go index 211e7f673..60b2e726e 100644 --- a/internal/verify/verify.go +++ b/internal/verify/verify.go @@ -708,5 +708,5 @@ func httpGet(ctx context.Context, url string) ([]byte, error) { } type debugLog interface { - Debug(format string, args ...any) + Debug(msg string, args ...any) }