It's possible that we're not tracking the role from the resources in the operation for this framework if the role is absent from the framework's set of roles. In this case, we track the role's allocation for this framework.
| 444 | // absent from the framework's set of roles. In this case, we |
| 445 | // track the role's allocation for this framework. |
| 446 | foreachkey (const std::string& role, consumed->allocations()) { |
| 447 | if (!isTrackedUnderRole(role)) { |
| 448 | trackUnderRole(role); |
| 449 | } |
| 450 | } |
| 451 | } |
| 452 | } |
| 453 |