1
0
mirror of https://github.com/offen/docker-volume-backup.git synced 2025-11-23 21:44:40 +02:00

any can be used instead of interface{}

This commit is contained in:
Frederik Ring
2023-03-16 19:48:12 +01:00
parent aee802cb09
commit 66ad124ddd
2 changed files with 2 additions and 2 deletions

View File

@@ -110,7 +110,7 @@ func newScript() (*script, error) {
s.cli = cli
}
logFunc := func(logType storage.LogLevel, context string, msg string, params ...interface{}) {
logFunc := func(logType storage.LogLevel, context string, msg string, params ...any) {
switch logType {
case storage.LogLevelWarning:
s.logger.Warnf("["+context+"] "+msg, params...)