mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-20 23:10:37 +00:00
refactor:remove common_error::prelude (#1946)
* feat:Remove common_error::prelude * fix merge error * cr comment * fix error
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
//! LogStore APIs.
|
||||
|
||||
use common_error::prelude::ErrorExt;
|
||||
use common_error::ext::ErrorExt;
|
||||
|
||||
use crate::logstore::entry::{Entry, Id};
|
||||
use crate::logstore::entry_stream::SendableEntryStream;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
use std::pin::Pin;
|
||||
|
||||
use common_error::prelude::ErrorExt;
|
||||
use common_error::ext::ErrorExt;
|
||||
use futures::Stream;
|
||||
|
||||
use crate::logstore::entry::Entry;
|
||||
@@ -34,6 +34,7 @@ mod tests {
|
||||
use std::task::{Context, Poll};
|
||||
|
||||
use futures::StreamExt;
|
||||
use snafu::Snafu;
|
||||
|
||||
use super::*;
|
||||
pub use crate::logstore::entry::Id;
|
||||
@@ -43,8 +44,6 @@ mod tests {
|
||||
data: Vec<u8>,
|
||||
}
|
||||
|
||||
use common_error::prelude::{ErrorExt, Snafu};
|
||||
|
||||
#[derive(Debug, Snafu)]
|
||||
#[snafu(visibility(pub))]
|
||||
pub struct Error {}
|
||||
|
||||
Reference in New Issue
Block a user