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 client cannot form Put message properly #72

Closed
buraksezer opened this issue Dec 9, 2020 · 1 comment
Closed

Go client cannot form Put message properly #72

buraksezer opened this issue Dec 9, 2020 · 1 comment
Assignees
Labels
bug Something isn't working Go Client The official Golang client for Olric release:v0.3.x Issues related with v0.3.x

Comments

@buraksezer
Copy link
Owner

The Go client uses wrong type of extra to form a protocol message for protocol.OpPut

req.SetExtra(protocol.PutExExtra{
  Timestamp: time.Now().UnixNano(),
})

This leads an empty Timestamp field. It should be like this:

req.SetExtra(protocol.PutExtra{
	Timestamp: time.Now().UnixNano(),
})
@buraksezer buraksezer added the release:v0.3.x Issues related with v0.3.x label Dec 9, 2020
@buraksezer buraksezer self-assigned this Dec 9, 2020
@buraksezer buraksezer added bug Something isn't working Go Client The official Golang client for Olric labels Dec 9, 2020
@buraksezer
Copy link
Owner Author

Done e1990cd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Go Client The official Golang client for Olric release:v0.3.x Issues related with v0.3.x
Projects
None yet
Development

No branches or pull requests

1 participant