replaced format with msg in needed parameters

This commit is contained in:
miampf 2024-01-29 14:32:06 +01:00
parent 4854e97c86
commit c8b0175f1c
No known key found for this signature in database
GPG Key ID: 376EAC0E5307A669
6 changed files with 7 additions and 7 deletions

View File

@ -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) {

View File

@ -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].

View File

@ -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.

View File

@ -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.

View File

@ -502,5 +502,5 @@ type kubectlInterface interface {
}
type debugLog interface {
Debug(format string, args ...any)
Debug(msg string, args ...any)
}

View File

@ -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)
}