Skip to content

Commit

Permalink
M #-: Fix error in wild VM monitoring (#3199)
Browse files Browse the repository at this point in the history
* For wild VMs do only basic monitoring, skip extended info
  • Loading branch information
paczerny authored Aug 13, 2024
1 parent 6d60b43 commit f7737bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/im_mad/remotes/lib/kvm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ def info
@vm[:id] = -1
end

return if @vm[:id] == -1 # Skip wild VMs

@vm[:kvm_state] = hash['STATE']

# Domain state
Expand Down

0 comments on commit f7737bc

Please sign in to comment.