Skip to content

Commit cfdbf95

Browse files
committed
fix: correctly group service tasks again
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
1 parent 07f5fe6 commit cfdbf95

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/js/stores/MesosStateStore.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,8 @@ class MesosStateStore extends GetSetBaseStore {
249249
return tasks
250250
.filter(
251251
(task) =>
252-
task.isStartedByMarathon && task.id.startsWith(`${taskIdPrefix}.`)
252+
task.isStartedByMarathon &&
253+
task.id.startsWith(`${taskIdPrefix}.instance`)
253254
)
254255
.concat(serviceTasks)
255256
.map((task) => MesosStateUtil.flagSDKTask(task, service));

0 commit comments

Comments
 (0)