mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 22:34:56 -04:00
Replace interface{} -> any (#370)
This commit is contained in:
parent
7592143a69
commit
2d121d9243
18 changed files with 84 additions and 84 deletions
|
@ -190,9 +190,9 @@ type warnLogger struct {
|
|||
}
|
||||
|
||||
// Infof is a no-op since we don't want extra info messages when using the CLI.
|
||||
func (wl warnLogger) Infof(format string, args ...interface{}) {}
|
||||
func (wl warnLogger) Infof(format string, args ...any) {}
|
||||
|
||||
// Warnf prints a formatted warning from the validator.
|
||||
func (wl warnLogger) Warnf(fmtStr string, args ...interface{}) {
|
||||
func (wl warnLogger) Warnf(fmtStr string, args ...any) {
|
||||
wl.cmd.PrintErrf("Warning: %s\n", fmt.Sprintf(fmtStr, args...))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue