Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Duniter v2S
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
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
nodes
rust
Duniter v2S
Commits
292d7bd3
Unverified
Commit
292d7bd3
authored
6 months ago
by
bgallois
Browse files
Options
Downloads
Patches
Plain Diff
review fix
parent
7d19364a
No related branches found
No related tags found
1 merge request
!290
Fix #262 distance oracle pool index
Pipeline
#38968
passed
6 months ago
Stage: labels
Stage: quality
Stage: build
Stage: tests
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
distance-oracle/src/lib.rs
+4
-10
4 additions, 10 deletions
distance-oracle/src/lib.rs
with
4 additions
and
10 deletions
distance-oracle/src/lib.rs
+
4
−
10
View file @
292d7bd3
...
@@ -173,16 +173,10 @@ pub async fn run(client: &api::Client, settings: &Settings) {
...
@@ -173,16 +173,10 @@ pub async fn run(client: &api::Client, settings: &Settings) {
.filter_map
(|
entry
|
{
.filter_map
(|
entry
|
{
entry
entry
.file_name
()
.file_name
()
.into_string
()
.to_str
()
.ok
()
.and_then
(|
name
|
{
.and_then
(|
name
|
{
name
.split
(
'-'
)
name
.split
(
'-'
)
.last
()
?
.parse
::
<
u32
>
()
.ok
()
.filter
(|
&
pool
|
{
.last
()
?
pool
!=
current_period_index
&&
pool
!=
current_period_index
+
1
.parse
::
<
isize
>
()
.ok
()
.filter
(|
&
pool
|
{
pool
!=
current_period_index
as
isize
&&
pool
!=
(
current_period_index
+
1
)
as
isize
})
})
})
})
.map
(|
_
|
entry
.path
())
.map
(|
_
|
entry
.path
())
...
...
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