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:
L 2020-12-07 17:59:23 -06:00 committed by GitHub
commit 451a9841ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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