From 61d61a76cce63e646db65495723add82ec6dd704 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Thu, 29 Apr 2021 11:58:36 +0300 Subject: [PATCH] logger: fix infinite recursive call logger/grpc.go:58:66 staticcheck SA5007: infinite recursive call --- logger/grpc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logger/grpc.go b/logger/grpc.go index b163e7c..0b9635e 100644 --- a/logger/grpc.go +++ b/logger/grpc.go @@ -55,6 +55,6 @@ func (z *zapLogger) Fatal(args ...interface{}) { z.log.Fatal(args...) } func (z *zapLogger) Fatalln(args ...interface{}) { z.log.Fatal(args...) } -func (z *zapLogger) Fatalf(format string, args ...interface{}) { z.Fatalf(format, args...) } +func (z *zapLogger) Fatalf(format string, args ...interface{}) { z.log.Fatalf(format, args...) } func (z *zapLogger) V(int) bool { return z.Enabled(zapcore.DebugLevel) }