Skip to content

Commit

Permalink
Merge pull request #14444 from yrudman/fixed-bug-in-vm-scan-introduce…
Browse files Browse the repository at this point in the history
…-by-removing-agent-class

Fixed bug in vm_scan introduced by removing agent_class
  • Loading branch information
Fryguy authored Mar 22, 2017
2 parents 07b1b9b + ebafbab commit 3703d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/vm_scan.rb
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def call_scan
_log.info "Enter"

begin
MiqServer.find(agent_id)
host = MiqServer.find(agent_id)
vm = VmOrTemplate.find(target_id)
# Send down metadata to allow the host to make decisions.
scan_args = create_scan_args(vm)
Expand Down

0 comments on commit 3703d4e

Please sign in to comment.