Skip to content
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

Updated event.py to handle app_terminated_event. #171

Merged
merged 2 commits into from
Feb 23, 2017

Conversation

Jbrownstone
Copy link
Contributor

@Jbrownstone Jbrownstone commented Feb 23, 2017

As of now, when the event stream gets a app_terminated_event, it raises an exeption :
MarathonError: Unknown event_type: app_terminated_event, data: {u'eventType': u'app_terminated_event', u'timestamp': u'2017-02-23T08:54:44.470Z', u'appId': u'/longtest/ms/beds-node'}
This fixs it.

Closes #151.

As of now, when the event stream gets a  app_terminated_event, it raises an exeption : 
MarathonError: Unknown event_type: app_terminated_event, data: {u'eventType': u'app_terminated_event', u'timestamp': u'2017-02-23T08:54:44.470Z', u'appId': u'/longtest/ms/beds-node'}
This fixs it.
I fixed the indentation that blocked the tests from passing, had only one carryage return instead of 2
@solarkennedy solarkennedy merged commit e6e4612 into thefactory:master Feb 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unknown event_type app_terminated_event
2 participants