summaryrefslogtreecommitdiffstats
path: root/controlloop/templates/pom.xml
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2018-07-05 10:36:49 -0400
committerJim Hahn <jrh3@att.com>2018-07-05 10:36:49 -0400
commit48dcb76d2895029d72298b0f81eb0cff71a4ea69 (patch)
treed427a5e6a11da3e509dc145d078428ec7d601f90 /controlloop/templates/pom.xml
parentcecd4ac43f199ad9f020d38fb7d1651b296d1703 (diff)
unlock should always return TargetLock
ControlLoopEventManager.unlock only returns the TargetLock if the PolicyGuard.unlock operation is successful. However, if the lock has already expired, then PolicyGuard.unlock will return false, and ControlLoopEventManager.unlock will then return null. As a result, the rules do not retract the TargetLock. (The rules do, however, retract any left-over TargetLock objects during the clean-up phase. Nevertheless, the earlier rules should not have to depend on the clean-up rules to do that.) Modified the code to address this issue. Change-Id: I2e6099a4e3511053d2e6e1373cae4b480798d1b6 Issue-ID: POLICY-872 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'controlloop/templates/pom.xml')
0 files changed, 0 insertions, 0 deletions