wasmCloud / wasmcloud-otp

wasmCloud host runtime that leverages Elixir/OTP and Rust to provide simple, secure, distributed application development using the actor model
Apache License 2.0
228 stars 48 forks source link

[BUG] starting a provider from file should work #639

Closed pgray closed 1 year ago

pgray commented 1 year ago

Describe the bug The code for running a provider from a file exists at: https://github.com/wasmCloud/wasmcloud-otp/blob/main/host_core/lib/host_core/providers/provider_supervisor.ex#L30

but wash ctl start provider file://$path-to-file fails with "Invalid reference format"

To Reproduce

Steps to reproduce the behavior:

  1. create a new provider
  2. build it
  3. wash ctl start provider file://$PWD/build/provider.par.gz

Expected behavior The provider should load and start just like it does via web UI

Environment (please complete the following information)

Additional context cc @aish-where-ya

thomastaylor312 commented 1 year ago

Closed in #641