mirror of
https://github.com/fatedier/frp.git
synced 2025-08-04 12:43:09 +00:00
support range ports mapping by go template (#4073)
This commit is contained in:
@@ -217,7 +217,7 @@ func (f *Framework) RenderTemplates(templates []string) (outs []string, ports ma
|
||||
}
|
||||
|
||||
for _, t := range templates {
|
||||
tmpl, err := template.New("").Parse(t)
|
||||
tmpl, err := template.New("frp-e2e").Parse(t)
|
||||
if err != nil {
|
||||
return nil, nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user