Skip to content

Commit

Permalink
chore: remove unused variant
Browse files Browse the repository at this point in the history
  • Loading branch information
discord9 committed Dec 18, 2024
1 parent 138520d commit dcec19d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/cmd/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
}
}
Expand Down

0 comments on commit dcec19d

Please sign in to comment.