Skip to content
Snippets Groups Projects
Commit 78c96071 authored by Masood Malekghassemi's avatar Masood Malekghassemi
Browse files

Merge pull request #753 from nathanielmanistaatgoogle/cancellation-ticket-kind

Avoid CANCELLATION ticket kind for back-to-front tickets.
parents ab399fa5 f4e3f3f8
No related branches found
No related tags found
No related merge requests found
...@@ -170,7 +170,8 @@ class RearLink(ticket_interfaces.RearLink, activated.Activated): ...@@ -170,7 +170,8 @@ class RearLink(ticket_interfaces.RearLink, activated.Activated):
if event.status.code is _low.Code.OK: if event.status.code is _low.Code.OK:
category = tickets.Kind.COMPLETION category = tickets.Kind.COMPLETION
elif event.status.code is _low.Code.CANCELLED: elif event.status.code is _low.Code.CANCELLED:
category = tickets.Kind.CANCELLATION # TODO(issue 752): Use a CANCELLATION ticket kind here.
category = tickets.Kind.SERVICER_FAILURE
elif event.status.code is _low.Code.EXPIRED: elif event.status.code is _low.Code.EXPIRED:
category = tickets.Kind.EXPIRATION category = tickets.Kind.EXPIRATION
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment