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

Confusing message after an attempt to delete non-existing object (codeset, workflow...) #256

Open
jsuchome opened this issue Sep 29, 2021 · 0 comments
Labels
area/cli CLI features and behavior area/core bug Something isn't working

Comments

@jsuchome
Copy link
Member

When invalid identifier is given to delete command, delete operation does not fail (which might be correct), however the CLI reports e.g.

Codeset %s successfully deleted

(same for workflows and probably other objects)

which is simply untrue and may lead to incorrect ideas about the state of fuseml.

Looks like we need to pass specific return codes from the backend to CLI which are not necessary error so that we can react accordingly.

@jsuchome jsuchome added bug Something isn't working area/core area/cli CLI features and behavior labels Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli CLI features and behavior area/core bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant