Skip to content

Commit

Permalink
fix: correctly group service tasks again
Browse files Browse the repository at this point in the history
this reverts 177e7aa. that commit has been
factored to be backwards compatible with dcos 1.12. unfortunately we also broke
some task-grouping that customers now rely on.

see COPS-6744 for more info.

closes COPS-6744
  • Loading branch information
pierrebeitz committed Jan 6, 2021
1 parent 07f5fe6 commit cfdbf95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/stores/MesosStateStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ class MesosStateStore extends GetSetBaseStore {
return tasks
.filter(
(task) =>
task.isStartedByMarathon && task.id.startsWith(`${taskIdPrefix}.`)
task.isStartedByMarathon &&
task.id.startsWith(`${taskIdPrefix}.instance`)
)
.concat(serviceTasks)
.map((task) => MesosStateUtil.flagSDKTask(task, service));
Expand Down

0 comments on commit cfdbf95

Please sign in to comment.