Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Assertion changes #2429

Merged
merged 3 commits into from
Feb 27, 2024
Merged
Changes from 2 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
7 changes: 2 additions & 5 deletions dozer-sink-aerospike/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,8 @@ use aerospike_client_sys::{
as_val_val_reserve, as_vector, as_vector_increase_capacity, as_vector_init, AS_BATCH_WRITE,
AS_BIN_NAME_MAX_LEN,
};
use dozer_core::{
node::{PortHandle, Sink, SinkFactory},
DEFAULT_PORT_HANDLE,
};
use dozer_core::node::{PortHandle, Sink, SinkFactory};
pub const DEFAULT_PORT_HANDLE: u16 = 0xffff_u16;
MG190202 marked this conversation as resolved.
Show resolved Hide resolved
use dozer_types::errors::internal::BoxedError;
use dozer_types::geo::{Coord, Point};
use dozer_types::ordered_float::OrderedFloat;
Expand Down Expand Up @@ -1190,7 +1188,6 @@ impl Sink for AerospikeSink {
}

fn process(&mut self, op: TableOperation) -> Result<(), BoxedError> {
debug_assert_eq!(op.port, DEFAULT_PORT_HANDLE);
self.sender.send(op)?;
Ok(())
}
Expand Down
Loading