Skip to content

Commit b5decb4

Browse files
committed
- Fixed bug duplicate ips in the local host file
1 parent 1fd3691 commit b5decb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

serius/serius.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def resolveDockerIPToDomain(configFileJson):
8383

8484
for serviceIpAddress in serviceIpAddresses:
8585

86-
with open(hostsWrite, "a") as file:
86+
with open(hostsWrite, "w") as file:
8787

8888
file.write(serviceIpAddress+"\n")
8989

0 commit comments

Comments
 (0)