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
[cli/info] multipass info --all
does not list deleted instances
#2936
Comments
I would like to work on this can you please assign me this work @andrei-toterman |
Sir can you help me by suggesting where this file is as I am searching for it, I just want to know where the file is |
Sure! You should look inside |
Since multipass info --all does show the state of the instance, it makes sense to show the deleted instances as well. Apart from that, the fact that you manually run it and find it out this behavior does not seem to be right. My wondering is that whether this can be unit tested. If so, maybe unit tests should be added. |
Indeed, this should be covered by unit tests. We have been steadily improving our test coverage over the years, but there are still blind spots. I agree that implementing tests for this should be part of fixing this issue. |
thankyou sir, I think my code will work but it has some flaws also in it but I'm still trying to improve it . |
Describe the bug
Listing information about all instances does not include deleted instances.
multipass info
works on a deleted instance,multipass ls
includes deleted instances, somultipass info --all
should include the deleted instances info as well.To Reproduce
multipass launch -n test
multipass delete test
multipass info test
shows info about deleted instancemultipass info --all
does not show info about the deleted instanceExpected behavior
Show info about all instances on
multipass info --all
Additional info
multipass version
1.11.1multipass get local.driver
anyThe text was updated successfully, but these errors were encountered: