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

Go build fails - no context for redisClient #53

Open
Examinato opened this issue Oct 2, 2020 · 1 comment
Open

Go build fails - no context for redisClient #53

Examinato opened this issue Oct 2, 2020 · 1 comment

Comments

@Examinato
Copy link

Hi

When trying to build the daemon, I get these errors:

# dovecot-xaps-daemon/aps aps/apns.go:75:24: cannot use "xapsd" (type string) as type context.Context in argument to redisClient.cmdable.HSet: string does not implement context.Context (missing Deadline method) aps/apns.go:79:38: not enough arguments in call to redisClient.cmdable.HGetAll have (string) want (context.Context, string) aps/apns.go:89:25: cannot use "xapsd" (type string) as type context.Context in argument to redisClient.cmdable.HDel: string does not implement context.Context (missing Deadline method)

I think there might been a change to the used library?

Thanks for looking at the issue!

@Examinato
Copy link
Author

I have found the issue and updated the code

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

1 participant