mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 13:54:20 +03:00
Merge pull request #4094 from urbit/la/wire-stability-pull-hook
pull-hook: make wires more stable identifiers based on resource
This commit is contained in:
commit
451a9841ed
@ -404,7 +404,7 @@
|
||||
=/ =wire
|
||||
(make-wire pull+resource+(en-path:resource rid))
|
||||
[%pass wire %agent [u.ship push-hook-name.config] %leave ~]~
|
||||
|
||||
::
|
||||
++ watch-resource
|
||||
|= [rid=resource pax=path]
|
||||
^- (list card)
|
||||
@ -414,7 +414,7 @@
|
||||
=/ =path
|
||||
(welp resource+(en-path:resource rid) pax)
|
||||
=/ =wire
|
||||
(make-wire pull+path)
|
||||
(make-wire pull+resource+(en-path:resource rid))
|
||||
[%pass wire %agent [u.ship push-hook-name.config] %watch path]~
|
||||
::
|
||||
++ make-wire
|
||||
|
Loading…
Reference in New Issue
Block a user