Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
elixxir
client
Commits
011242c8
Commit
011242c8
authored
3 years ago
by
Jake Taylor
Browse files
Options
Downloads
Patches
Plain Diff
fix getting stuck in getRoundResults
parent
88aa843d
No related branches found
No related tags found
2 merge requests
!231
Revert "Update store to print changes to the partners list"
,
!187
Xx 3829/triggers
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
api/results.go
+0
-2
0 additions, 2 deletions
api/results.go
with
0 additions
and
2 deletions
api/results.go
+
0
−
2
View file @
011242c8
...
@@ -166,9 +166,7 @@ func (c *Client) getRoundResults(roundList []id.Round, timeout time.Duration,
...
@@ -166,9 +166,7 @@ func (c *Client) getRoundResults(roundList []id.Round, timeout time.Duration,
roundsResults
[
roundId
]
=
Succeeded
roundsResults
[
roundId
]
=
Succeeded
}
else
if
states
.
Round
(
roundInfo
.
State
)
==
states
.
FAILED
{
}
else
if
states
.
Round
(
roundInfo
.
State
)
==
states
.
FAILED
{
roundsResults
[
roundId
]
=
Failed
roundsResults
[
roundId
]
=
Failed
allRoundsSucceeded
=
false
}
}
return
}
}
allRoundsSucceeded
=
false
allRoundsSucceeded
=
false
anyRoundTimedOut
=
true
anyRoundTimedOut
=
true
...
...
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