Skip to content

Commit 78ffdf3

Browse files
committed
fix: ensure port mapper module is namespaced
1 parent 055e332 commit 78ffdf3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/expert/lib/expert/engine_node.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ defmodule Expert.EngineNode do
6969
# as positional argument. Then, we use a simple --eval that decodes
7070
# and evaluates the string.
7171
project_node = Project.node_name(project)
72+
port_mapper = Forge.NodePortMapper
7273

7374
code =
7475
quote do
@@ -77,7 +78,7 @@ defmodule Expert.EngineNode do
7778
# We start distribution here, rather than on node boot, so that
7879
# -pa takes effect and Forge.EPMD is available
7980
{:ok, _} = Node.start(node, :longnames)
80-
Forge.NodePortMapper.register()
81+
unquote(port_mapper).register()
8182
end
8283

8384
code

0 commit comments

Comments
 (0)