Skip to content

Commit 5263374

Browse files
committed
feat(dev/run): write couch_uri files so ports are discoverable with --auto-ports option
1 parent 4244bf2 commit 5263374

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

dev/run

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,6 +813,13 @@ def hack_default_ini(ctx, node, contents):
813813
flags=re.MULTILINE,
814814
)
815815

816+
contents = re.sub(
817+
r"^;uri_file =$",
818+
"uri_file = ./dev/lib/{}/couch.uri".format(node),
819+
contents,
820+
flags=re.MULTILINE
821+
)
822+
816823
if ctx["enable_erlang_views"]:
817824
contents = re.sub(
818825
r"^\[native_query_servers\]$",

0 commit comments

Comments
 (0)