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 {