From 25ca19e70150b80936d857c83a2a802422445144 Mon Sep 17 00:00:00 2001 From: MakMuftic Date: Wed, 13 Mar 2024 14:01:32 +0100 Subject: [PATCH] fix linter --- internal/rpcgateway/rpcgateway.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/rpcgateway/rpcgateway.go b/internal/rpcgateway/rpcgateway.go index 37ecb8e..29ae0bd 100644 --- a/internal/rpcgateway/rpcgateway.go +++ b/internal/rpcgateway/rpcgateway.go @@ -79,8 +79,8 @@ func NewRPCGateway(config RPCGatewayConfig, router *chi.Mux) (*RPCGateway, error // NewRPCGatewayFromConfigFile creates an instance of RPCGateway from provided // configuration file. -func NewRPCGatewayFromConfigFile(fileOrUrl string, router *chi.Mux) (*RPCGateway, error) { - config, err := util.LoadYamlFile[RPCGatewayConfig](fileOrUrl) +func NewRPCGatewayFromConfigFile(fileOrURL string, router *chi.Mux) (*RPCGateway, error) { + config, err := util.LoadYamlFile[RPCGatewayConfig](fileOrURL) if err != nil { return nil, errors.Wrap(err, "failed to load config") }