mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CID-1114613 dead code removed
This commit is contained in:
parent
e8a54f471c
commit
682c3af710
@ -308,8 +308,6 @@ public class ImplicitDedicationPlanner extends FirstFitPlanner implements Deploy
|
|||||||
// But the host where system vms are running is marked as shared and still be part of empty Hosts.
|
// But the host where system vms are running is marked as shared and still be part of empty Hosts.
|
||||||
// The scenario will fail where actual Empty hosts and uservms not running host.
|
// The scenario will fail where actual Empty hosts and uservms not running host.
|
||||||
return PlannerResourceUsage.Dedicated;
|
return PlannerResourceUsage.Dedicated;
|
||||||
} else if (!preferred) {
|
|
||||||
return PlannerResourceUsage.Dedicated;
|
|
||||||
} else {
|
} else {
|
||||||
if (!allOtherHosts.isEmpty() && (hostsToAvoid == null || !hostsToAvoid.containsAll(allOtherHosts))) {
|
if (!allOtherHosts.isEmpty() && (hostsToAvoid == null || !hostsToAvoid.containsAll(allOtherHosts))) {
|
||||||
return PlannerResourceUsage.Shared;
|
return PlannerResourceUsage.Shared;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user