builder: update heartbeat timestamp on log message

This commit is contained in:
Jimmy Zelinskie 2015-06-17 14:11:22 -04:00
parent 2d6c0eadb1
commit 59aba93514

View file

@ -195,6 +195,9 @@ class BuildComponent(BaseComponent):
def _on_log_message(self, phase, json_data):
""" Tails log messages and updates the build status. """
# Update the heartbeat.
self._last_heartbeat = datetime.datetime.utcnow()
# Parse any of the JSON data logged.
docker_data = {}
if json_data: