Skip to content

Commit

Permalink
Remove leftover assertion (#2429)
Browse files Browse the repository at this point in the history
  • Loading branch information
MG190202 authored Feb 27, 2024
1 parent 17635bf commit 25f111b
Showing 1 changed file with 2 additions and 5 deletions.
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,7 @@ 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};
use dozer_types::errors::internal::BoxedError;
use dozer_types::geo::{Coord, Point};
use dozer_types::ordered_float::OrderedFloat;
Expand Down Expand Up @@ -1190,7 +1187,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 Expand Up @@ -1248,6 +1244,7 @@ impl Sink for AerospikeSink {
#[cfg(test)]
mod tests {

use dozer_core::DEFAULT_PORT_HANDLE;
use dozer_log::tokio;
use std::time::Duration;

Expand Down

0 comments on commit 25f111b

Please sign in to comment.