mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-24 08:50:40 +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,8 +14,8 @@
|
||||
|
||||
use std::any::Any;
|
||||
|
||||
use common_error::prelude::*;
|
||||
use snafu::Location;
|
||||
use common_error::ext::ErrorExt;
|
||||
use snafu::{Location, Snafu};
|
||||
use tokio::task::JoinError;
|
||||
|
||||
pub type Result<T> = std::result::Result<T, Error>;
|
||||
|
||||
@@ -16,7 +16,7 @@ use std::sync::atomic::{AtomicBool, Ordering};
|
||||
use std::sync::Mutex;
|
||||
use std::time::Duration;
|
||||
|
||||
use common_error::prelude::ErrorExt;
|
||||
use common_error::ext::ErrorExt;
|
||||
use common_telemetry::logging;
|
||||
use snafu::{ensure, ResultExt};
|
||||
use tokio::task::JoinHandle;
|
||||
|
||||
Reference in New Issue
Block a user