From a83befa0d111a0ba6fac52d763e93c76a2ef94d4 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 19 Dec 2025 12:52:30 +0100 Subject: all: use any instead of interface{} Any is the preferred over interface{} now in Go. --- pkg/instance/execprog.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/instance/execprog.go') diff --git a/pkg/instance/execprog.go b/pkg/instance/execprog.go index 564889ba2..6a365cdb7 100644 --- a/pkg/instance/execprog.go +++ b/pkg/instance/execprog.go @@ -18,7 +18,7 @@ import ( "github.com/google/syzkaller/vm" ) -type ExecutorLogger func(int, string, ...interface{}) +type ExecutorLogger func(int, string, ...any) type OptionalConfig struct { Logf ExecutorLogger @@ -84,7 +84,7 @@ func SetupExecProg(vmInst *vm.Instance, mgrCfg *mgrconfig.Config, reporter *repo } } if ret.Logf == nil { - ret.Logf = func(int, string, ...interface{}) {} + ret.Logf = func(int, string, ...any) {} } return ret, nil } -- cgit mrf-deployment