Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Commit

Permalink
Fix reading Docker build logs issue
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Nov 21, 2016
1 parent 7a5289b commit c648490
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions badwolf/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ def get_docker_image(self):
# Deprecated
# https://github.com/docker/docker/blob/master/pkg/jsonmessage/jsonmessage.go#L104
msg = log['error']
elif 'status' in log:
msg = log['status']
else:
msg = log['stream']
if 'Successfully built' in msg:
Expand Down

0 comments on commit c648490

Please sign in to comment.