Commit 92be102d authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent c895386c
...@@ -104,7 +104,7 @@ func newMasteredNode(typ proto.NodeType, clusterName string, net xnet.Networker, ...@@ -104,7 +104,7 @@ func newMasteredNode(typ proto.NodeType, clusterName string, net xnet.Networker,
// //
// f is called on every reconnection to master after identification and protocol prologue. // f is called on every reconnection to master after identification and protocol prologue.
// //
// TalkMaster should be the only mutator of cluster state and .MyInfo.NID. // TalkMaster should be the only mutator of cluster state and .MyInfo.NID. XXX -> updateState
// //
// See top-level _MasteredNode overview for details. // See top-level _MasteredNode overview for details.
func (node *_MasteredNode) TalkMaster(ctx context.Context, f func(context.Context, *_MasterLink) error) (err error) { func (node *_MasteredNode) TalkMaster(ctx context.Context, f func(context.Context, *_MasterLink) error) (err error) {
......
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