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

Pcs should offer non-intrusive second guessing #172

Open
jnpkrn opened this issue May 15, 2018 · 1 comment
Open

Pcs should offer non-intrusive second guessing #172

jnpkrn opened this issue May 15, 2018 · 1 comment

Comments

@jnpkrn
Copy link
Contributor

jnpkrn commented May 15, 2018

Example scenario:

$ pcs resource describe ocf:heartbeat:dummy
Error: Agent 'ocf:heartbeat:dummy' is not installed or does not provide valid metadata: Metadata query for ocf:heartbeat:dummy failed: Input/output error

Finicky user may expect:

Error: Agent 'ocf:heartbeat:dummy' is not installed or does not provide valid metadata.
Did you mean 'ocf:heartbeat:Dummy'?

There is quite a lot of theory (+ ready-to-use implementations) to leverage, e.g.
https://en.wikipedia.org/wiki/Levenshtein_distance

@jnpkrn
Copy link
Contributor Author

jnpkrn commented Aug 6, 2018

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