good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
github
maticnetwork
bor
Commits
3654aeaa
Unverified
Commit
3654aeaa
authored
7 years ago
by
Felix Lange
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
p2p/simulations: fix gosimple nit (#15661)
parent
f258a21a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
p2p/simulations/mocker_test.go
+1
-1
1 addition, 1 deletion
p2p/simulations/mocker_test.go
with
1 addition
and
1 deletion
p2p/simulations/mocker_test.go
+
1
−
1
View file @
3654aeaa
...
...
@@ -91,7 +91,7 @@ func TestMocker(t *testing.T) {
select
{
case
event
:=
<-
events
:
//if the event is a node Up event only
if
event
.
Node
!=
nil
&&
event
.
Node
.
Up
==
true
{
if
event
.
Node
!=
nil
&&
event
.
Node
.
Up
{
//add the correspondent node ID to the map
nodemap
[
event
.
Node
.
Config
.
ID
]
=
true
//this means all nodes got a nodeUp event, so we can continue the test
...
...
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