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

vsphere: fix incorrect PoweredOn conditional #5

Merged
merged 1 commit into from
Sep 29, 2016

Conversation

sarahhodne
Copy link
Contributor

Previously it returned true when the VM was not powered on, which is the opposite of what we want. This caused the janitor to try to destroy all VMs that were powered on (but luckily it thought they were powered off, so it tried to destroy them without powering them off first, causing vSphere to error and the VMs were left alone).

Previously it returned true when the VM was _not_ powered on, which is the
opposite of what we want. This caused the janitor to try to destroy all VMs that
were powered on (but luckily it thought they were powered off, so it tried to
destroy them without powering them off first, causing vSphere to error and the
VMs were left alone).
@codecov-io
Copy link

codecov-io commented Sep 29, 2016

Current coverage is 44.27% (diff: 0.00%)

Merging #5 into master will not change coverage

@@             master         #5   diff @@
==========================================
  Files             5          5          
  Lines           262        262          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits            116        116          
  Misses          135        135          
  Partials         11         11          

Powered by Codecov. Last update 4a25884...5d5ad85

@emdantrim emdantrim merged commit 7879f73 into master Sep 29, 2016
@emdantrim emdantrim deleted the hh/vsphere-fix-powered-on branch September 29, 2016 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants