Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions crates/hamgrd/src/actors/ha_scope/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ impl HaScopeBase {
}
};

if kfv.operation == KeyOperation::Del {
debug!("Ignoring DASH_HA_SCOPE_STATE deletion for key={}", kfv.key);
return None;
}

match swss_serde::from_field_values(&kfv.field_values) {
Ok(state) => Some(state),
Err(e) => {
Expand Down
5 changes: 5 additions & 0 deletions crates/hamgrd/src/actors/ha_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,11 @@ impl HaSetActor {
}
};

if kfv.operation == KeyOperation::Del {
debug!("Ignoring DASH_HA_SET_STATE deletion for key={}", kfv.key);
return None;
}

match swss_serde::from_field_values(&kfv.field_values) {
Ok(state) => Some((kfv.key, state)),
Err(e) => {
Expand Down
Loading