wasmCloud / lattice-observer

A reusable Elixir library for monitoring a lattice and deriving observed state
https://wasmcloud.com
Apache License 2.0
3 stars 2 forks source link

ignore unimportant events #32

Closed connorsmith256 closed 1 year ago

connorsmith256 commented 1 year ago

Feature or Problem

The lattice observer prints warning messages any time it receives an unexpected event. We've added a few events the host can emit, so I've added cases to the lattice observer so it won't emit warnings on expected events anymore

Release Information

v0.4.2

Consumer Impact

N/A

Testing

Manual Verification

connorsmith256 commented 1 year ago

@autodidaddict I didn't think of using when! That's a much better way. I'm going to merge as-is to remove the warnings but will file a follow-on issue to refactor this