Skip to content

Commit

Permalink
fix log message for relay states
Browse files Browse the repository at this point in the history
Signed-off-by: William Casarin <[email protected]>
  • Loading branch information
jb55 committed Nov 15, 2024
1 parent 4d124c0 commit ebfa9e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ impl FilterStates {
pub fn set_relay_state(&mut self, relay: String, state: FilterState) {
if self.states.contains_key(&relay) {
let current_state = self.states.get(&relay).unwrap();
warn!(
"set_relay_state: we already have the {:?} state set for {}. overriding with {:?}",
current_state, &relay, state
debug!(
"set_relay_state: {:?} -> {:?} on {}",
current_state, state, &relay,
);
}
self.states.insert(relay, state);
Expand Down

0 comments on commit ebfa9e4

Please sign in to comment.