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. --- vm/proxyapp/proxyappclient.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vm/proxyapp') diff --git a/vm/proxyapp/proxyappclient.go b/vm/proxyapp/proxyappclient.go index 4ffa12b57..c3740ce6a 100644 --- a/vm/proxyapp/proxyappclient.go +++ b/vm/proxyapp/proxyappclient.go @@ -300,7 +300,7 @@ func (proxy *ProxyApp) signalLostConnection() { } } -func (proxy *ProxyApp) Call(serviceMethod string, args, reply interface{}) error { +func (proxy *ProxyApp) Call(serviceMethod string, args, reply any) error { err := proxy.Client.Call(serviceMethod, args, reply) if err == rpc.ErrShutdown { proxy.signalLostConnection() @@ -589,8 +589,8 @@ type stdInOutCloser struct { io.Writer } -func clientErrorf(writer io.Writer) func(fmt string, s ...interface{}) { - return func(f string, s ...interface{}) { +func clientErrorf(writer io.Writer) func(fmt string, s ...any) { + return func(f string, s ...any) { fmt.Fprintf(writer, f, s...) writer.Write([]byte("\nSYZFAIL: proxy app plugin error\n")) } -- cgit mrf-deployment