Skip to content

Commit d3dc428

Browse files
cpresslandCopilot
andauthored
Update src/azure-cli/azure/cli/command_modules/acr/custom.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 75bece2 commit d3dc428

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/azure-cli/azure/cli/command_modules/acr

src/azure-cli/azure/cli/command_modules/acr/custom.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ def get_docker_command(is_diagnostics_context=False):
408408
logger.debug("Could not run '%s' command. Exception: %s", docker_command, str(e))
409409
# The executable may not be discoverable in WSL so retry *.exe once
410410
try:
411-
docker_command = docker_command + '.exe'
411+
docker_command = f'{docker_command}.exe'
412412
p = Popen([docker_command, "ps"], stdout=PIPE, stderr=PIPE)
413413
_, stderr = p.communicate()
414414
except OSError as inner:

0 commit comments

Comments
 (0)