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

Fix mesos.Credential.secret type mismatch #4

Closed
wants to merge 1 commit into from

Commits on Jan 21, 2016

  1. Fix mesos.Credential.secret type mismatch

    An Jan.16 2016 update of mesos/mesos-go changes type of
    mesos.Credential.secret from bytes to string.
    
        mesos/mesos-go@7870a46#diff-8b984a6759078d3bd0e4a27e90ab541dR1239
    
    This results a type mismatch at scheduler/init.go:50. Error
    message below
    
        cannot use secret (type []byte) as type *string in field value
    
    This patch fixes it by converting `secret` from []byte to string
    before passing it to mesos.Credential.
    accelazh committed Jan 21, 2016
    Configuration menu
    Copy the full SHA
    c647600 View commit details
    Browse the repository at this point in the history