Description
When we have multiple TaskGroups that have same key but different TaskConfigs, the /pendingTasks endpoint will gives a 500 HTTP Error.
This bug seems to be related to a recent commit (Added the 'reason' to the /pendingTasks endpoint)(https://github.com/apache/aurora/commit/8e07b04bbd4de23b8f492627da4a614d1e517cf1).
Attached were a screenshot of the /pendingTasks endpoint.