Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
MakMuftic committed Mar 13, 2024
1 parent 71caed2 commit 25ca19e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/rpcgateway/rpcgateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit 25ca19e

Please sign in to comment.