Skip to content

Commit 32c7e1d

Browse files
author
Prasanna Santhanam
committed
fix up the hostaffinity processors from loading
hostaffinity don't load by default anymore Signed-off-by: Prasanna Santhanam <tsp@apache.org>
1 parent 50b4c9c commit 32c7e1d

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

‎client/tomcatconf/simulatorComponentContext.xml.in‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,12 +218,19 @@
218218
class="org.apache.cloudstack.region.gslb.GlobalLoadBalancingRulesServiceImpl"/>
219219

220220
<!--
221-
AffinityGroup Processors
221+
AffinityGroup Processors
222222
-->
223223
<bean id="HostAntiAffinityProcessor" class="org.apache.cloudstack.affinity.HostAntiAffinityProcessor">
224224
<property name="name" value="HostAntiAffinityProcessor"/>
225225
<property name="type" value="host anti-affinity"/>
226226
</bean>
227227

228+
<bean id="affinityProcessors" class="com.cloud.utils.component.AdapterList">
229+
<property name="Adapters">
230+
<list>
231+
<ref bean="HostAntiAffinityProcessor" />
232+
</list>
233+
</property>
234+
</bean>
228235

229236
</beans>

0 commit comments

Comments
 (0)