Skip to content

Commit

Permalink
Fixes from PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
shanejbrown committed Jul 10, 2024
1 parent e7ee9bc commit 531ac21
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions buildrunner/docker/multiplatform_image_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def _get_build_cache_options(self, builder: Optional[str]) -> dict:

def _log_buildx(self, logs_itr: Iterator[str], platform: str):
for log in logs_itr:
LOGGER.info(f"[{platform}] {log.strip()}".strip())
LOGGER.info(f"[{platform}] {log}".strip())

# pylint: disable=too-many-arguments,too-many-locals
def _build_with_inject(
Expand Down Expand Up @@ -305,7 +305,6 @@ def _build_single_image(
LOGGER.info(
f"Building image for platform {platform} with {builder or 'default'} builder"
)
logs_itr = Iterator[str]

if inject and isinstance(inject, dict):
self._build_with_inject(
Expand Down

0 comments on commit 531ac21

Please sign in to comment.