HomeMesosphereNo notifications. 4 unresolved issues.

Fixes #4824 - Use GroupRepository instead of AppRepository and PodRepository in MarathonSchedulerActor
ClosedAll Users

Authored by unterstein on Dec 12 2016, 4:47 PM.

Diff Detail

Repository
rMARATHON marathon
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
unterstein retitled this revision from to Fixes #4824 - Use GroupRepository instead of AppRepository and PodRepository in MarathonSchedulerActor.Dec 12 2016, 4:47 PM
unterstein updated this object.
unterstein edited the test plan for this revision. (Show Details)
unterstein added a subscriber: marathon-team.
unterstein updated this revision to Diff 1231.Dec 12 2016, 5:08 PM
  • removed unused implicit
timcharper added inline comments.Dec 12 2016, 6:55 PM
src/main/scala/mesosphere/marathon/MarathonSchedulerActor.scala
397–398

I vote we change the method signature here to Unit, and then use future.foreach.

aquamatthias accepted this revision.Dec 12 2016, 7:49 PM

Thanks.
We load the whole RootGroup, take the id and then load the RunSpec by Id.
We should improve this in a follow up.

This revision is now accepted and ready to land.Dec 12 2016, 7:49 PM
meichstedt accepted this revision.Dec 12 2016, 8:07 PM
meichstedt added inline comments.
src/main/scala/mesosphere/marathon/MarathonSchedulerActor.scala
397–398

Makes sense to me too. The only usage of this method doesn't even care.

timcharper updated this revision to Diff 1236.Dec 12 2016, 8:17 PM

Future[Unit] -> Unit

timcharper accepted this revision.Dec 12 2016, 8:17 PM
timcharper added inline comments.
src/main/scala/mesosphere/marathon/MarathonSchedulerActor.scala
397–398

I went ahead and did this and updated the patch. If this was naughty behavior then I’m sorry!

This revision was automatically updated to reflect the committed changes.
unterstein added inline comments.Dec 13 2016, 11:22 AM
src/main/scala/mesosphere/marathon/MarathonSchedulerActor.scala
397–398

thanks!