Skip to content

Updated event.py to handle app_terminated_event.#171

Merged
solarkennedy merged 2 commits intothefactory:masterfrom
Jbrownstone:patch-1
Feb 23, 2017
Merged

Updated event.py to handle app_terminated_event.#171
solarkennedy merged 2 commits intothefactory:masterfrom
Jbrownstone:patch-1

Conversation

@Jbrownstone
Copy link
Copy Markdown
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