I am trying create plugin and got Traefiker Bot issue. It report the vendor module (go-resty) problem. issue message as below:
vendor/github.com/go-resty/resty/v2/request.go:605:48: cannot use type resty.RetryConditionFunc as type func(*unsafe2.dummy, error) bool
anyone could help? how i can overcome this issue? Thank you.
my plugin :
github issue:
opened 10:00AM - 05 Dec 22 UTC
The plugin was not imported into Traefik Plugin Catalog.
Cause:
```
failed to r… un the plugin with Yaegi: the load of the plugin takes too much time(10s), or an error, inside the plugin, occurs during the load: 1:21: import "github.com/gordonlukch/Keycloak-Introspect" error: /tmp/traefik-plugin-gop2053114730/src/github.com/gordonlukch/Keycloak-Introspect/keycloak_introspect.go:8:2: import "github.com/Nerzal/gocloak/v12" error: /tmp/traefik-plugin-gop2053114730/src/github.com/gordonlukch/Keycloak-Introspect/vendor/github.com/Nerzal/gocloak/v12/client.go:15:2: import "github.com/go-resty/resty/v2" error: /tmp/traefik-plugin-gop2053114730/src/github.com/gordonlukch/Keycloak-Introspect/vendor/github.com/go-resty/resty/v2/request.go:605:48: cannot use type resty.RetryConditionFunc as type func(*unsafe2.dummy, error) bool
```
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](https://community.traefik.io/).
I have no knowledge about GO, but the error seems to indicate that the function call is not correct - check your parameters and parameter types.
Thank you for your reply.
In my code, i hadn't use the function call that metion on error message. The issue message point out the the line is "import" external library on my code, seem meaningless and hard to trace the problem. :~(