mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-12 06:24:10 +01:00
chore: replace interface{} with any
This commit is contained in:
@@ -61,6 +61,6 @@ type cacheLogger struct {
|
||||
r *reporter.Reporter
|
||||
}
|
||||
|
||||
func (cl cacheLogger) Errorf(msg string, args ...interface{}) {
|
||||
func (cl cacheLogger) Errorf(msg string, args ...any) {
|
||||
cl.r.Error().Msgf(msg, args...)
|
||||
}
|
||||
|
||||
@@ -104,7 +104,7 @@ func DefaultConfiguration() Configuration {
|
||||
}
|
||||
|
||||
// MarshalYAML undoes ConfigurationUnmarshallerHook().
|
||||
func (cc CacheConfiguration) MarshalYAML() (interface{}, error) {
|
||||
func (cc CacheConfiguration) MarshalYAML() (any, error) {
|
||||
return helpers.ParametrizedConfigurationMarshalYAML(cc, cacheConfigurationMap)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user