pass the message directly instead of the python object on receiving dockercloud event

This commit is contained in:
tifayuki 2016-02-15 18:00:22 +01:00
commit 9383498d3c

View file

@ -28,7 +28,7 @@ class Events(StreamingAPI):
return
if self.message_handler:
self.message_handler(event)
self.message_handler(message)
def run_forever(self, *args, **kwargs):
while True: