Port to new `parse_maddr()` name
parent
fcececce19
commit
5d081a40d5
|
@ -114,7 +114,7 @@ def pikerd(
|
||||||
)]
|
)]
|
||||||
|
|
||||||
from .. import service
|
from .. import service
|
||||||
from tractor._multiaddr import parse_addr
|
from tractor._multiaddr import parse_maddr
|
||||||
|
|
||||||
# transport-oriented endpoint multi-addresses
|
# transport-oriented endpoint multi-addresses
|
||||||
eps: dict[
|
eps: dict[
|
||||||
|
@ -141,7 +141,7 @@ def pikerd(
|
||||||
case 'pikerd':
|
case 'pikerd':
|
||||||
dname: str = key
|
dname: str = key
|
||||||
for maddr in maddrs:
|
for maddr in maddrs:
|
||||||
layers: dict = parse_addr(maddr)
|
layers: dict = parse_maddr(maddr)
|
||||||
eps.setdefault(
|
eps.setdefault(
|
||||||
dname,
|
dname,
|
||||||
[],
|
[],
|
||||||
|
@ -149,7 +149,7 @@ def pikerd(
|
||||||
|
|
||||||
else:
|
else:
|
||||||
# presume user is manually specifying the root actor ep.
|
# presume user is manually specifying the root actor ep.
|
||||||
eps['pikerd'] = [parse_addr(maddr)]
|
eps['pikerd'] = [parse_maddr(maddr)]
|
||||||
|
|
||||||
regaddrs: list[tuple[str, int]] = []
|
regaddrs: list[tuple[str, int]] = []
|
||||||
for layers in eps['pikerd']:
|
for layers in eps['pikerd']:
|
||||||
|
|
Loading…
Reference in New Issue