Port to new `parse_maddr()` name

distribute_dis
Tyler Goodlet 2023-09-29 15:20:56 -04:00
parent fcececce19
commit 5d081a40d5
1 changed files with 3 additions and 3 deletions

View File

@ -114,7 +114,7 @@ def pikerd(
)]
from .. import service
from tractor._multiaddr import parse_addr
from tractor._multiaddr import parse_maddr
# transport-oriented endpoint multi-addresses
eps: dict[
@ -141,7 +141,7 @@ def pikerd(
case 'pikerd':
dname: str = key
for maddr in maddrs:
layers: dict = parse_addr(maddr)
layers: dict = parse_maddr(maddr)
eps.setdefault(
dname,
[],
@ -149,7 +149,7 @@ def pikerd(
else:
# presume user is manually specifying the root actor ep.
eps['pikerd'] = [parse_addr(maddr)]
eps['pikerd'] = [parse_maddr(maddr)]
regaddrs: list[tuple[str, int]] = []
for layers in eps['pikerd']: