mirror of https://github.com/apache/cloudstack.git
Fill the creationMonitors based on priority
If not priotity, append to the end of the list. Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
This commit is contained in:
parent
8bd1eaa210
commit
6f3688d13d
|
|
@ -258,7 +258,7 @@ public class AgentManagerImpl extends ManagerBase implements AgentManager, Handl
|
|||
_creationMonitors.add(0, new Pair<Integer, StartupCommandProcessor>(
|
||||
_monitorId, creator));
|
||||
} else {
|
||||
_creationMonitors.add(0, new Pair<Integer, StartupCommandProcessor>(
|
||||
_creationMonitors.add(new Pair<Integer, StartupCommandProcessor>(
|
||||
_monitorId, creator));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue