Explorar o código

doc(api): use Debugf when formatting log msg

Mustafa Arici %!s(int64=8) %!d(string=hai) anos
pai
achega
792577e4f8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      api/interceptor.go

+ 1 - 1
api/interceptor.go

@@ -102,7 +102,7 @@ func AuthUnaryInterceptor(ctx gcontext.Context, req interface{}, info *grpc.Unar
 		case "/pb.NetworkService/Dissociate":
 			return authRequired(ctx, req, handler)
 		default:
-			logrus.Debugln("rpc: auth is not required for this endpoint: '%s'", info.FullMethod)
+			logrus.Debugf("rpc: auth not required for endpoint: '%s'", info.FullMethod)
 		}
 	}
 	return handler(ctx, req)