Skip to content

Commit 0bd03a1

Browse files
committed
fix(entrypoint): fixed log4j back filename and entrypoint test filename
1 parent e077e21 commit 0bd03a1

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

docker/entrypoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def logfix(landing: Path):
136136
if log4j.exists():
137137
# Create backup as log4j.properties.bak
138138
print(f" Modifying {log4j}")
139-
shutil.copy(log4j, log4j.with_suffix(".bak"))
139+
shutil.copy(log4j, log4j.with_name(log4j.name + ".bak"))
140140
with open(log4j, "r+", encoding="utf-8") as file:
141141
content = file.read()
142142
content = content.replace("##out--", "")
File renamed without changes.

0 commit comments

Comments
 (0)