tomMoulard / htransformation

A Traefik plugin to change on the fly header's value of a request
MIT License
77 stars 13 forks source link

[Traefik Plugin Catalog] Plugin Analyzer has detected a problem. #39

Closed traefiker closed 1 year ago

traefiker commented 1 year ago

The plugin was not imported into Traefik Plugin Catalog.

Cause:

failed to run the plugin with Yaegi: the function `New` of test produce a panic: panic during the call of the function: reflect.Set: value of type map[string]*interp.node is not assignable to type map[string]func(http.ResponseWriter, *http.Request, struct { Header string "yaml:\"Header\""; HeaderPrefix string "yaml:\"HeaderPrefix\""; Name string "yaml:\"Name\""; Regexp *regexp.Regexp "yaml:\"-\""; Sep string "yaml:\"Sep\""; Type string "yaml:\"Type\""; Value string "yaml:\"Value\""; ValueReplace string "yaml:\"ValueReplace\""; Values []string "yaml:\"Values\""; SetOnResponse bool "yaml:\"SetOnRequest\"" })

Traefik Plugin Analyzer will restart when you will close this issue.

If you believe there is a problem with the Analyzer or this issue is the result of a false positive, please contact us.