Skip to content

Commit

Permalink
refactor: kv-app-errors does not need serde (#16324)
Browse files Browse the repository at this point in the history
  • Loading branch information
drmingdrmer authored Aug 24, 2024
1 parent 9c7828a commit 16c04a1
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 72 deletions.
2 changes: 1 addition & 1 deletion src/meta/api/src/kv_app_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ use tonic::Status;
///
/// Either a local or remote meta-store will returns (1) AppError.
/// An embedded meta-store only returns (1) and (2), while a remote meta-store service only returns (1) and (3)
#[derive(thiserror::Error, serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[derive(thiserror::Error, Debug, Clone, PartialEq, Eq)]
pub enum KVAppError {
/// An error that indicates something wrong for the application of kvapi::KVApi, but nothing wrong about meta.
#[error(transparent)]
Expand Down
Loading

0 comments on commit 16c04a1

Please sign in to comment.