Skip to content

Commit

Permalink
linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin committed Oct 30, 2023
1 parent 7a2ddb1 commit 0eaa517
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/zenoh-plugin-storage-manager/src/backends_mgt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use std::sync::Arc;
use zenoh::prelude::r#async::*;
use zenoh::Session;
use zenoh_backend_traits::config::StorageConfig;
use zenoh_backend_traits::Capability;
use zenoh_backend_traits::{Capability, VolumePlugin};
use zenoh_result::ZResult;

pub struct StoreIntercept {
Expand All @@ -30,7 +30,7 @@ pub struct StoreIntercept {
pub(crate) async fn create_and_start_storage(
admin_key: String,
config: StorageConfig,
backend: &Box<dyn zenoh_backend_traits::Volume>,
backend: &VolumePlugin,
in_interceptor: Option<Arc<dyn Fn(Sample) -> Sample + Send + Sync>>,
out_interceptor: Option<Arc<dyn Fn(Sample) -> Sample + Send + Sync>>,
zenoh: Arc<Session>,
Expand Down

0 comments on commit 0eaa517

Please sign in to comment.