Merge "Ensure reservation_expire actually expires reservations"

This commit is contained in:
Jenkins 2017-04-07 20:08:12 +00:00 committed by Gerrit Code Review
commit f212aa15a0

View File

@ -4007,7 +4007,7 @@ def reservation_expire(context):
reservation.usage.reserved -= reservation.delta reservation.usage.reserved -= reservation.delta
context.session.add(reservation.usage) context.session.add(reservation.usage)
reservation_query.soft_delete(synchronize_session=False) return reservation_query.soft_delete(synchronize_session=False)
################### ###################