-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Receive events from Marathon & relay events to Consul. #2
Conversation
@miltontony & @Rizziepit first PR ready for review. Bare bones relay of events from Marathon to Consul, ignores any staging flags at this point. Next PR addresses flags. |
Marathon events documented here: https://mesosphere.github.io/marathon/docs/event-bus.html |
@bruskiza also pinging you, ready for review. |
Oops, merged #3 into this one. |
self.event_dispatch = { | ||
'status_update_event': self.handle_status_update_event, | ||
} | ||
self.unknown_event_handler = self.handle_unknown_event |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering why the rename here? I see handle_unknown_event
being used below but not unknown_event_handler
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, thought I needed to mock this out for tests, turns out not needed.
👍 looks good |
+1 from me |
No description provided.