Skip to content

Commit

Permalink
Log in the proper place and add the image name used (#3750)
Browse files Browse the repository at this point in the history
  • Loading branch information
humitos authored and agjohnson committed Mar 7, 2018
1 parent d127ea5 commit 2a7a113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readthedocs/doc_builder/environments.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,6 @@ def __init__(self, *args, **kwargs):

def __enter__(self):
"""Start of environment context."""
log.info('Creating container')
try:
# Test for existing container. We remove any stale containers that
# are no longer running here if there is a collision. If the
Expand Down Expand Up @@ -829,6 +828,7 @@ def create_container(self):
if self.project.container_image:
image = self.project.container_image
try:
log.info('Creating Docker container: image=%s', image)
self.container = client.create_container(
image=image,
command=('/bin/sh -c "sleep {time}; exit {exit}"'
Expand Down

0 comments on commit 2a7a113

Please sign in to comment.