Displaying 1 result from an estimated 1 matches for "471ec88".
Did you mean:
47188
2010 Sep 01
1
[PATCH 2/2] Adding the ability to select a Host to start a VM [2/2]
Signed-off-by: Simon Courtois <scourtois at linagora.com>
---
src/task-omatic/taskomatic.rb | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/task-omatic/taskomatic.rb b/src/task-omatic/taskomatic.rb
index 471ec88..1dfd74f 100755
--- a/src/task-omatic/taskomatic.rb
+++ b/src/task-omatic/taskomatic.rb
@@ -355,11 +355,10 @@ class TaskOmatic
end
end
- if task.args
+ if task.args && !task.args.blank?
db_host = db_vm.vm_resource_pool.get_hardware_pool.hosts.find(task.args)
-...