mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 19:41:20 +02:00
decrement number of instances on addressable instance of deployable assignment
This commit is contained in:
parent
36f4e148dc
commit
d01feedb5a
1 changed files with 2 additions and 1 deletions
|
@ -463,7 +463,8 @@ Assignment* DomainServer::deployableAssignmentForRequest(Assignment& requestAssi
|
||||||
_assignmentQueue.erase(assignment);
|
_assignmentQueue.erase(assignment);
|
||||||
}
|
}
|
||||||
|
|
||||||
(*assignment)->decrementNumberOfInstances();
|
deployableAssignment->decrementNumberOfInstances();
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// remove the assignment from the queue
|
// remove the assignment from the queue
|
||||||
_assignmentQueue.erase(assignment);
|
_assignmentQueue.erase(assignment);
|
||||||
|
|
Loading…
Reference in a new issue