summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2026-10-03 16:30:02 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2026-10-11 20:48:22 +0200
commit43bd41296aa9051cfcbc566ea3fe70dc3b9c37a3 (patch)
treef6e6a1b9ee624c6000690725afd34a5a01943f00
parenta271cccc66698754612a46164ecbea66c4296d43 (diff)
(test) Test: add type annotations to perfrom_attach
-rw-r--r--attach.et4
1 files changed, 1 insertions, 3 deletions
diff --git a/attach.et b/attach.et
index cb0d448..42f8e94 100644
--- a/attach.et
+++ b/attach.et
@@ -3,9 +3,7 @@ module attach
import common
-export def perform_attach of dev to owner:
- flush from owner matching // # TODO: forces (owner : Process), drop when not necessary
-
+export def perform_attach of (dev : Process) to (owner : Process):
send "peer-get-by-addr ${owner.node.ip} 29665" to dev
send "peer-get-by-addr ${dev.node.ip} 29665" to owner
expect /peer-get-by-addr ([0-9]+)/ from dev capture owner_pidx