Skip to content

Commit

Permalink
wasm: fix support for non-cloneable Wasm runtimes. (envoyproxy#16263)
Browse files Browse the repository at this point in the history
Signed-off-by: Piotr Sikora <[email protected]>
Signed-off-by: Gokul Nair <[email protected]>
  • Loading branch information
PiotrSikora authored and Gokul Nair committed May 6, 2021
1 parent f75eb68 commit f5bae8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/extensions/common/wasm/wasm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ Wasm::Wasm(WasmConfig& config, absl::string_view vm_key, const Stats::ScopeShare
Wasm::Wasm(WasmHandleSharedPtr base_wasm_handle, Event::Dispatcher& dispatcher)
: WasmBase(base_wasm_handle,
[&base_wasm_handle]() {
return createWasmVm(base_wasm_handle->wasm()->wasm_vm()->runtime());
return createWasmVm(absl::StrCat("envoy.wasm.runtime.",
base_wasm_handle->wasm()->wasm_vm()->runtime()));
}),
scope_(getWasm(base_wasm_handle)->scope_),
cluster_manager_(getWasm(base_wasm_handle)->clusterManager()), dispatcher_(dispatcher),
Expand Down

0 comments on commit f5bae8e

Please sign in to comment.