Skip to content

Unable to build CLI #25

@simukka

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions