Commit baf20c7d authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 0b4cf8c7
......@@ -38,7 +38,7 @@ type TraceCollector struct {
pg *tracing.ProbeGroup
rx interface { RxEvent(interface{}) }
// node2Name map[*xneo.NodeApp]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.NodeApp:
case *xneo.Node:
t.node2Name[node] = name
t.nodeTab2Owner[node.NodeTab] = name
t.clusterState2Owner[&node.ClusterState] = name
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment