[BUG] wash uses model.list which gives a deprecation warning on wadm
Affected project(s)
- [ ] documentation
- [ ] examples
- [ ] wasmCloud host
- [x] wasmCloud CLI (wash)
- [ ] wasmCloud dashboard UI (washboard)
- [ ] capability providers
- [ ] provider bindgen
- [ ] control interface client
- [ ] other / not sure
Describe the bug
I get this warning when calling wash app list
wadm::server: Received deprecated subject: model.list. Please use model.get instead
Steps to reproduce
- run
wash app list - you get the warning seen above in wadm
Expected behavior
no deprecation warning
Environment
latest wadm and wash cli (dont know the exact version, should be less than 2 weeks ago)
Screenshots / Logs / Additional context
wadm::server: Received deprecated subject: model.list. Please use model.get instead
Hey Folks!
I would love to work on this.
Hey @sp6370 it's yours! Please let us know if you need any help!
Hey Folks!
Just started working on this. I will keep you posted. Apologies for the delayed response. 😃
@sp6370 Hi! Are you still working on this?
@sp6370 Hi! Are you still working on this?
Sadly no! Feel free to pick this up @arujjval
@sp6370 Sure! Thanks for notifying. @vados-cosmonic I would like to work on this.
Thanks @arijjval, let us know if you have any questions!
@lachieh @thomas9911 I tried reproducing it, but it works in my case.
@arujjval it does work indeed, the warning is shown in wadm (the server)
Yes, to be clearer (apologies for not detailing earlier), the fix here is to make the wash app list command use model.get instead of model.list.
@lachieh I am struggling to reproduce it. As I am new here, I don't know where
wadm::server: Received deprecated subject: model.list. Please use model.get instead this warning is showing up.
RUST_LOG=info wash app list
@arujjval This should help show the log
@arujjval Hi! I'm interested in helping with this issue. Are you still working on this?
@jtakakura sure, you can take it.
@arujjval Thanks a lot! I appreciate you letting me take this. I'll get started right away. @vados-cosmonic Could you please assign this issue to me?