Skip to content

Commit

Permalink
dockerized_execution: Use variable instead of hardcoded path
Browse files Browse the repository at this point in the history
Change-Id: Idc740f45b98ed8cd7c1dfc592a92331cd293f7d4
  • Loading branch information
rene-slowenski-checkmk committed Feb 13, 2025
1 parent 753c49f commit 2153d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testlib/script_helpers/dockerized_execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ def _prepare_git_overlay(
)

if username:
_exec_run(container, ["chown", f"{username}:{username}", "/git"])
_exec_run(container, ["chown", f"{username}:{username}", target_path])


def _prepare_testuser(container: docker.Container, username: str) -> None:
Expand Down

0 comments on commit 2153d3c

Please sign in to comment.