properly handle initial deploy (#7)

This commit is contained in:
Aleksey Proshutisnkiy 2021-05-31 16:06:13 +03:00 committed by GitHub
parent 587b1bf659
commit df3e43996b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,12 @@
(xor (xor
(seq (seq
(xor
(seq (seq
(call relay ("srv" "resolve_alias") [alias] service_id) (call relay ("srv" "resolve_alias") [alias] service_id)
(call relay ("srv" "remove") [service_id]) (call relay ("srv" "remove") [service_id])
) )
(null)
)
(seq (seq
(call relay ("srv" "add_alias") [alias service] result) (call relay ("srv" "add_alias") [alias service] result)
(call %init_peer_id% (returnService "run") [result]) (call %init_peer_id% (returnService "run") [result])