Merge "Allow leases to transition to ERROR status when events fail"
This commit is contained in:
commit
5b5bb8aee1
|
@ -317,6 +317,13 @@ COMBINATIONS = {
|
|||
'end_lease': (EventStatus.UNDONE,
|
||||
EventStatus.DONE,
|
||||
EventStatus.ERROR)
|
||||
},
|
||||
LeaseStatus.ERROR: {
|
||||
'reservation': ReservationStatus.ERROR,
|
||||
'start_lease': (EventStatus.DONE,
|
||||
EventStatus.ERROR),
|
||||
'end_lease': (EventStatus.UNDONE,
|
||||
EventStatus.ERROR)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue