Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
picodata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
picodata
Commits
6379a7e5
Commit
6379a7e5
authored
2 years ago
by
Georgy Moshkin
Committed by
Georgy Moshkin
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
chore: minor tweaks
parent
d55aa4b8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!262
chore: minor tweaks
Pipeline
#12241
passed
2 years ago
Stage: build
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/traft/error.rs
+1
-1
1 addition, 1 deletion
src/traft/error.rs
src/traft/storage.rs
+3
-1
3 additions, 1 deletion
src/traft/storage.rs
with
4 additions
and
2 deletions
src/traft/error.rs
+
1
−
1
View file @
6379a7e5
...
...
@@ -29,7 +29,7 @@ pub enum Error {
Tarantool
(
#[from]
::
tarantool
::
error
::
Error
),
#[error(
"peer with id {0} not found"
)]
NoPeerWithRaftId
(
RaftId
),
#[error(
r#
"peer with id
"
{0}
"
not found"
#
)]
#[error(
"peer with id {0
:?
} not found"
)]
NoPeerWithInstanceId
(
InstanceId
),
#[error(
"other error: {0}"
)]
Other
(
Box
<
dyn
std
::
error
::
Error
>
),
...
...
This diff is collapsed.
Click to expand it.
src/traft/storage.rs
+
3
−
1
View file @
6379a7e5
...
...
@@ -388,12 +388,14 @@ macro_rules! define_peer_fields {
$
(
/// Helper struct that represents
#[doc
=
stringify
!
(
$
name)]
/// field of `Peer`.
/// field of
[
`Peer`
]
.
///
/// It's rust type is
#[doc
=
concat
!
(
"`"
,
stringify
!
(
$
ty),
"`"
)]
/// and it's tarantool type is
#[doc
=
concat
!
(
"`"
,
stringify
!
(
$
tt_ty),
"`"
)]
///
/// [`Peer`]: crate::traft::Peer
pub
struct
$field
;
impl
PeerFieldDef
for
$field
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment