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

Use utility function vm_powered_on? instead manual comparison #204

Merged
merged 1 commit into from
Mar 8, 2018

Commits on Mar 2, 2018

  1. Use utility function vm_powered_on? instead manual comparison

    With this commit we replace manual comparison of status with
    utility function. The logic is a bit more bullet-proof now since
    we now only prevent VM delete when VM is "ON" while we originally
    only allowed delete when VM was "OFF". So effectively we now allow
    VM delete even if status is e.g. "unknown" which I think should succeed.
    
    Signed-off-by: Miha Pleško <miha.plesko@xlab.si>
    miha-plesko committed Mar 2, 2018
    Configuration menu
    Copy the full SHA
    ffe13b2 View commit details
    Browse the repository at this point in the history