Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tester build broken due to creds type mismatch #47

Open
1 of 3 tasks
pmundt opened this issue Dec 14, 2019 · 0 comments
Open
1 of 3 tasks

Tester build broken due to creds type mismatch #47

pmundt opened this issue Dec 14, 2019 · 0 comments

Comments

@pmundt
Copy link
Contributor

pmundt commented Dec 14, 2019

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

$ 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.

Steps to Reproduce (for bugs)

  1. git clone https://github.com/openfaas-incubator/connector-sdk.git
  2. cd connector-sdk
  3. go run cmd/tester/main.go

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

  • Operating System and version (e.g. Linux, Windows, MacOS):
  • Ubuntu 19.10
  • go version go1.13.4 linux/amd64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant