pull-hook: make wires more stable identifiers based on resource

This commit is contained in:
Logan Allen 2020-12-07 14:16:55 -06:00
parent eed45be0e8
commit 358a6e73fd

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