Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyan-dfinity committed Sep 7, 2023
1 parent 85a0a6a commit b2c4a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/pool/Main.mo
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ shared (creator) actor class Self(opt_params : ?Types.InitParams) = this {
switch (sanitizeInputs(caller, canister_id)) {
case (#ok info) {
let args = { arg; wasm_module; mode; canister_id };
let config = { profiling = pool.profiling caller; is_whitelisted = false; origin = "spawn" };
let config = { profiling = pool.profiling caller; is_whitelisted = false; origin = "spawned" };
ignore await installCode(info, args, config); // inherit the profiling of the parent
};
case (#err makeMsg) throw Error.reject(makeMsg "install_code");
Expand Down

0 comments on commit b2c4a29

Please sign in to comment.