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

Unknown event_type app_terminated_event #151

Closed
krainz opened this issue Oct 9, 2016 · 2 comments · Fixed by #171
Closed

Unknown event_type app_terminated_event #151

krainz opened this issue Oct 9, 2016 · 2 comments · Fixed by #171

Comments

@krainz
Copy link

krainz commented Oct 9, 2016

i used the event stream api, when the marathon responsed it sounds lose a event type class :

File "/usr/lib/python3.4/site-packages/marathon/client.py", line 742, in event_stream yield ef.process(event_data) File "/usr/lib/python3.4/site-packages/marathon/models/events.py", line 156, in process raise MarathonError('Unknown event_type: {}, data: {}'.format(event_type, event)) marathon.exceptions.MarathonError: Unknown event_type: app_terminated_event, data: {'timestamp': '2016-10-08T11:43:40.843Z', 'appId': '/order-service-u103', 'eventType': 'app_terminated_event'}

@solarkennedy
Copy link
Contributor

It looks like we didn't have this event at the time. Can you make a PR?

event_to_class = {

@Jbrownstone
Copy link
Contributor

Hello,

I had the same problem, and i did the pr fixing the issue.

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 a pull request may close this issue.

3 participants