diff --git a/src/cmd/src/error.rs b/src/cmd/src/error.rs index b69bac441c0d..0af9966fc6ac 100644 --- a/src/cmd/src/error.rs +++ b/src/cmd/src/error.rs @@ -338,13 +338,6 @@ pub enum Error { source: meta_client::error::Error, }, - #[snafu(display("Failed to get meta cluster client"))] - MetaClusterClient { - #[snafu(implicit)] - location: Location, - source: meta_client::error::Error, - }, - #[snafu(display("Cannot find schema {schema} in catalog {catalog}"))] SchemaNotFound { catalog: String, @@ -412,7 +405,6 @@ impl ErrorExt for Error { source.status_code() } Error::MetaClientInit { source, .. } => source.status_code(), - Error::MetaClusterClient { source, .. } => source.status_code(), Error::SchemaNotFound { .. } => StatusCode::DatabaseNotFound, } }