Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Fix merge error between PR #1130 and #1107
Browse files Browse the repository at this point in the history
commit 8e30672
Merge: 6f1aff3 3ec8f59
Author: Peter Kolloch <peter@mesosphere.com>
Date:   Fri Mar 27 16:07:26 2015 +0100

    Merge pull request #1107 from mesosphere/wip-1106-drexin

    fixes #1106 - Return empty HealthCheck result instead of None, when no r...
  • Loading branch information
Peter Kolloch committed Mar 27, 2015
1 parent 64a6732 commit 0302c76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class AppTasksResource @Inject() (service: MarathonSchedulerService,
id <- appIds
health = result(healthCheckManager.statuses(id))
task <- taskTracker.get(id)
} yield EnrichedTask(id, task, health.getOrElse(task.getId, Nil).map(Some(_)))
} yield EnrichedTask(id, task, health.getOrElse(task.getId, Nil))

val matchingApps = appId match {
case GroupTasks(gid) =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class TasksResource @Inject() (
EnrichedTask(
appId,
task,
health.getOrElse(task.getId, Nil).map(Some(_)),
health.getOrElse(task.getId, Nil),
appToPorts.getOrElse(appId, Nil)
)
}
Expand Down

0 comments on commit 0302c76

Please sign in to comment.