deis / workflow-manager-api

Deis Workflow Manager API
MIT License
5 stars 0 forks source link

fix(data): fix the cluster age filter #106

Closed arschles closed 8 years ago

arschles commented 8 years ago

The filter's underlying SQL query was using a DISTINCT to eliminate duplicate cluster checkins before running aggregate functions (like MIN and MAX) on all the checkins. That was wrong for the below reasons:

it was incorrect to use the DISTINCT keyword for a few reasons:

Fixes #104