douban / pymesos

A pure python implementation of Mesos scheduler and executor
BSD 3-Clause "New" or "Revised" License
163 stars 88 forks source link

Fix inverse offers #88

Closed bmerry closed 6 years ago

bmerry commented 6 years ago

Inverse offers are received with an 'inverse_offers' event type, for which there was no handler (at least in Mesos 1.4.0 - I don't know if the existing code worked for other versions of Mesos). I've added an on_inverse_offers wrapper that just forwards to on_offers.

windreamer commented 6 years ago

OK, this is a bit out-dated. I am considering a refactor on this.

windreamer commented 6 years ago

@bmerry I prefer #89 in favor of this

bmerry commented 6 years ago

@bmerry I prefer #89 in favor of this

Sure, #89 looks a whole lot more complete. Thanks!