Skip to content

Commit 648f289

Browse files
committed
chore: remove config
Signed-off-by: chohee <[email protected]>
1 parent 0f1429c commit 648f289

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

dragonfly-client-config/src/dfdaemon.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -991,18 +991,6 @@ impl Default for StorageServer {
991991
}
992992
}
993993

994-
/// Encryption is the storage encryption configuration for dfdaemon.
995-
#[derive(Debug, Clone, Serialize, Deserialize)]
996-
pub struct Encryption {
997-
pub enable: bool,
998-
}
999-
1000-
fn default_storage_encryption() -> Encryption {
1001-
Encryption {
1002-
enable: false,
1003-
}
1004-
}
1005-
1006994
/// Storage is the storage configuration for dfdaemon.
1007995
#[derive(Debug, Clone, Validate, Deserialize)]
1008996
#[serde(default, rename_all = "camelCase")]

dragonfly-client-storage/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use std::path::Path;
2525
use std::path::PathBuf;
2626
use std::sync::Arc;
2727
use std::time::Duration;
28-
use tokio::io::AsyncRead;
28+
use tokio::io::{AsyncRead, AsyncReadExt};
2929
use tokio::time::sleep;
3030
use tokio_util::either::Either;
3131
use tokio_util::io::InspectReader;

0 commit comments

Comments
 (0)