You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to run the default tester fails due to a type mismatch on the auth creds.
Expected Behaviour
It does whatever it's supposed to do when it runs successfully
Current Behaviour
$ go run cmd/tester/main.go
# command-line-arguments
cmd/tester/main.go:37:35: cannot use creds (type *"connector-sdk/vendor/github.com/openfaas/faas-provider/auth".BasicAuthCredentials) as type *"github.com/openfaas-incubator/connector-sdk/vendor/github.com/openfaas/faas-provider/auth".BasicAuthCredentials in argument to "github.com/openfaas-incubator/connector-sdk/types".NewController
Possible Solution
I haven't had a chance to look into this in detail, but as the other connectors don't have this issue, assume it's just a dependency issue in the connector-sdk tree.
I ran into this while developing a new connector but ultimately was able to get going with the MQTT and Kafka connectors as a reference instead. While it hasn't had a great impact, I don't believe there is anything extraordinary about my development environment, so others are likely to hit this as well.
Your Environment
Operating System and version (e.g. Linux, Windows, MacOS):
Ubuntu 19.10
go version go1.13.4 linux/amd64
The text was updated successfully, but these errors were encountered:
My actions before raising this issue
Trying to run the default tester fails due to a type mismatch on the auth creds.
Expected Behaviour
It does whatever it's supposed to do when it runs successfully
Current Behaviour
Possible Solution
I haven't had a chance to look into this in detail, but as the other connectors don't have this issue, assume it's just a dependency issue in the
connector-sdk
tree.Steps to Reproduce (for bugs)
Context
I ran into this while developing a new connector but ultimately was able to get going with the MQTT and Kafka connectors as a reference instead. While it hasn't had a great impact, I don't believe there is anything extraordinary about my development environment, so others are likely to hit this as well.
Your Environment
The text was updated successfully, but these errors were encountered: