Skip to content

Unable to build CLI #25

Description

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

results with:

# github.com/denisenkom/go-mssqldb/azuread
../../go/pkg/mod/github.com/denisenkom/go-mssqldb@v0.12.3/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/go-mssqldb@v0.12.3/azuread/configuration.go:176:144: unknown field Password in struct literal of type azidentity.ClientCertificateCredentialOptions
../../go/pkg/mod/github.com/denisenkom/go-mssqldb@v0.12.3/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/go-mssqldb@v0.12.3/azuread/configuration.go:187:106: unknown field AuthorityHost in struct literal of type azidentity.InteractiveBrowserCredentialOptions

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions