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

Update code for more recent github.com/AzureAD/microsoft-authentication-library-for-go? #39

Closed
jas4711 opened this issue Jan 14, 2024 · 1 comment

Comments

@jas4711
Copy link

jas4711 commented Jan 14, 2024

Hi. I'm packaging relic for Debian, in order to get sigstore's rekor into Debian. We have github.com/AzureAD/microsoft-authentication-library-for-go in Debian but it is newer than you use, and causes the build error below. Could you update the dependency to the latest version of github.com/AzureAD/microsoft-authentication-library-for-go and fix your code?

# github.com/sassoftware/relic/cmdline/remotecmd
src/github.com/sassoftware/relic/cmdline/remotecmd/azure.go:65:20: cannot use &dvCache{…} (value of type *dvCache) as cache.ExportReplace value in argument to public.WithCache: *dvCache does not implement cache.ExportReplace (wrong type for method Export)
		have Export(cache.Marshaler, string)
		want Export(context.Context, cache.Marshaler, cache.ExportHints) error
src/github.com/sassoftware/relic/cmdline/remotecmd/azure.go:79:12: not enough arguments in call to s.cli.Accounts
	have ()
	want (context.Context)
src/github.com/sassoftware/relic/cmdline/remotecmd/azure.go:79:12: assignment mismatch: 1 variable but s.cli.Accounts returns 2 values
github.com/Azure/go-autorest/autorest/azure/auth

Thanks,
Simon

@mtharp
Copy link
Contributor

mtharp commented Feb 7, 2024

FIxed in v7.6.2

@mtharp mtharp closed this as completed Feb 7, 2024
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

2 participants