Skip to content
Snippets Groups Projects
Commit 1be40d03 authored by Georgy Moshkin's avatar Georgy Moshkin :speech_balloon:
Browse files

fix: don't forget the error code

parent 4036da6a
No related branches found
No related tags found
1 merge request!1323fix: don't use handle_update_instance_request_and_wait in governor
......@@ -183,6 +183,7 @@ impl Error {
Self::TermMismatch { .. } => ErrorCode::TermMismatch as _,
Self::NoSuchInstance(_) => ErrorCode::NoSuchInstance as _,
Self::NoSuchReplicaset { .. } => ErrorCode::NoSuchReplicaset as _,
Self::Unsupported { .. } => TarantoolErrorCode::Unsupported as _,
// TODO: give other error types specific codes
_ => ErrorCode::Other as _,
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment