From 0f12b59fe54cea33014db0db2f9241901d81546c Mon Sep 17 00:00:00 2001 From: Isan Rivkin Date: Wed, 13 Sep 2023 17:36:26 +0300 Subject: [PATCH] update name --- pkg/actions/lua/net/url/url.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/actions/lua/net/url/url.go b/pkg/actions/lua/net/url/url.go index 20861a0b109..f287b164554 100644 --- a/pkg/actions/lua/net/url/url.go +++ b/pkg/actions/lua/net/url/url.go @@ -17,10 +17,10 @@ func Open(l *lua.State) { } var library = []lua.RegistryFunction{ - {Name: "parse", Function: Parse}, + {Name: "parse", Function: parse}, } -func Parse(l *lua.State) int { +func parse(l *lua.State) int { rawURL := lua.CheckString(l, 1) u, err := neturl.Parse(rawURL) if err != nil {