Displaying 1 result from an estimated 1 matches for "tagged_hosts".
2009 Sep 08
1
[PATCH server] fix live migration
...osts_per_page = 40: hosts_per_page = hosts_per_page %>
+<% hosts_per_page = 40 if !defined?(hosts_per_page) or hosts_per_page.nil? %>
<% if (hwpool.nil? or
((hwpool.is_a? HardwarePool) and (hwpool.hosts.size > hosts_per_page)) or
((hwpool.is_a? SmartPool) and (hwpool.tagged_hosts.size > hosts_per_page)))
diff --git a/src/app/views/vm/migrate.rhtml b/src/app/views/vm/migrate.rhtml
index f94723a..9165425 100644
--- a/src/app/views/vm/migrate.rhtml
+++ b/src/app/views/vm/migrate.rhtml
@@ -44,6 +44,7 @@
:hwpool => @vm.get_hardware_pool,
:exclud...