Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
baf20c7d
Commit
baf20c7d
authored
Feb 03, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
0b4cf8c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
go/neo/t_tracego_test.go
go/neo/t_tracego_test.go
+2
-2
No files found.
go/neo/t_tracego_test.go
View file @
baf20c7d
...
...
@@ -38,7 +38,7 @@ type TraceCollector struct {
pg
*
tracing
.
ProbeGroup
rx
interface
{
RxEvent
(
interface
{})
}
// node2Name map[*xneo.Node
App
]string
// node2Name map[*xneo.Node]string
node2Name
map
[
interface
{}]
string
// XXX -> *_MasteredNode
nodeTab2Owner
map
[
*
xneo
.
NodeTable
]
string
clusterState2Owner
map
[
*
proto
.
ClusterState
]
string
...
...
@@ -88,7 +88,7 @@ func (t *TraceCollector) RegisterNode(node /*XXX -> *_MasteredNode*/interface{},
default
:
panic
(
/*bad type*/
node
)
case
*
xneo
.
Node
App
:
case
*
xneo
.
Node
:
t
.
node2Name
[
node
]
=
name
t
.
nodeTab2Owner
[
node
.
NodeTab
]
=
name
t
.
clusterState2Owner
[
&
node
.
ClusterState
]
=
name
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment