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

Issue in "patch and build auctioneer" #6

Open
tangzhankun opened this issue Jan 27, 2016 · 2 comments
Open

Issue in "patch and build auctioneer" #6

tangzhankun opened this issue Jan 27, 2016 · 2 comments

Comments

@tangzhankun
Copy link

Hi,
I encountered this error when follow the "patch and build auctioneer" of getting started.

go get ./...
# github.com/mesos/cloudfoundry-mesos/scheduler
../../../../mesos/cloudfoundry-mesos/scheduler/init.go:50: cannot use secret (type []byte) as type *string in field value

I changed below lines in init.go and it succeeded in compiling auctioneer

                secret, err := ioutil.ReadFile(*mesosAuthSecretFile)
                str_secret := string(secret[:])
                ...
                cred = &mesos.Credential{
                        Principal: proto.String(*mesosAuthPrincipal),
                        Secret:    &str_secret,
                }

Have you met this issue before? or it is related with my host environment?

@opaugam
Copy link

opaugam commented Jan 28, 2016

i have hit the same issue as well.. looks like the code is stale.

@jianhuiz
Copy link
Member

There is a unmerged pull request you can use as a patch for this
#4

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

3 participants