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

Unable to build CLI #25

Open
simukka opened this issue Oct 14, 2024 · 0 comments
Open

Unable to build CLI #25

simukka opened this issue Oct 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@simukka
Copy link

simukka commented Oct 14, 2024

go build -o /usr/local/bin/sqlcode ./cli

results with:

# github.com/denisenkom/go-mssqldb/azuread
../../go/pkg/mod/github.com/denisenkom/[email protected]/azuread/configuration.go:176:97: not enough arguments in call to azidentity.NewClientCertificateCredential
	have (string, string, string, *azidentity.ClientCertificateCredentialOptions)
	want (string, string, []*x509.Certificate, crypto.PrivateKey, *azidentity.ClientCertificateCredentialOptions)
../../go/pkg/mod/github.com/denisenkom/[email protected]/azuread/configuration.go:176:144: unknown field Password in struct literal of type azidentity.ClientCertificateCredentialOptions
../../go/pkg/mod/github.com/denisenkom/[email protected]/azuread/configuration.go:185:67: too many arguments in call to azidentity.NewManagedIdentityCredential
	have (string, nil)
	want (*azidentity.ManagedIdentityCredentialOptions)
../../go/pkg/mod/github.com/denisenkom/[email protected]/azuread/configuration.go:187:106: unknown field AuthorityHost in struct literal of type azidentity.InteractiveBrowserCredentialOptions
@simukka simukka added the bug Something isn't working label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant