fix(sdk): remove redundant newline character in local `DockerRunner` logs (#10354)

This commit is contained in:
Connor McCarthy 2024-01-02 18:40:14 -05:00 committed by GitHub
parent 89d4234a5b
commit 86b7e23985
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -95,5 +95,7 @@ def run_docker_container(
volumes=volumes,
)
for line in container.logs(stream=True):
print(line.decode())
# the inner logs should already have trailing \n
# we do not need to add another
print(line.decode(), end='')
return container.wait()['StatusCode']