feat: use new blueprint (#708)

Co-authored-by: Dima <dmitry.shakhtarin@fluence.ai>
This commit is contained in:
Aleksey Proshutisnkiy 2023-05-29 14:29:54 +02:00 committed by GitHub
parent ae2a433185
commit d393b71891
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,8 +59,7 @@ func deploy(serviceName: string, serviceConf: ServiceConf) -> DeployResult:
on ON_PEER:
hostRes <- Ipfs.get(cid)
conf <- Dist.make_module_config(m.name, m.mem_pages_count, m.max_heap_size, m.logger_enabled, m.preopened_files, m.envs, m.mapped_dirs, m.mounted_binaries, m.logging_mask)
mod <- Dist.add_module_from_vault(hostRes.path, conf)
mod_hash <- Op.concat_strings("hash:", mod)
mod_hash <- Dist.add_module_from_vault(hostRes.path, conf)
mod_hashes <<- [mod_hash, m.name]
join mod_hashes[OpC.array_length(serviceConf.modules) - 1]