mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-16 11:58:43 -04:00
replaced format with msg in needed parameters
This commit is contained in:
parent
4854e97c86
commit
c8b0175f1c
6 changed files with 7 additions and 7 deletions
|
@ -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) {
|
||||
|
|
|
@ -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].
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -502,5 +502,5 @@ type kubectlInterface interface {
|
|||
}
|
||||
|
||||
type debugLog interface {
|
||||
Debug(format string, args ...any)
|
||||
Debug(msg string, args ...any)
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue