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

libcluster: make a specific error on missing data #789

Open
oleg-jukovec opened this issue Feb 28, 2024 · 0 comments
Open

libcluster: make a specific error on missing data #789

oleg-jukovec opened this issue Feb 28, 2024 · 0 comments

Comments

@oleg-jukovec
Copy link
Contributor

oleg-jukovec commented Feb 28, 2024

Now we need to compare strings to find out that a collector does not found data in a prefix:

https://github.com/tarantool/go-discovery/blob/fc4ddcb2f8a3929d8bc7f7b611467b7b4183ebb8/discoverer/etcd.go#L86-L89

This is not a good approach, we need to make a separate error type/constant for such cases.

And we need to fix the message:
https://github.com/tarantool/go-discovery/pull/23#discussion_r1504359449

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