Commit a702d674 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent cf78ad88
...@@ -191,9 +191,16 @@ func (stor *Storage) talkMaster1(ctx context.Context) error { ...@@ -191,9 +191,16 @@ func (stor *Storage) talkMaster1(ctx context.Context) error {
} }
// TODO
// <- StartOperation
opCtx, opCancel := context.WithCancel(ctx)
stor.opMu.Lock()
stor.opCtx = opCtx
stor.opMu.Unlock()
defer opCancel()
return nil // XXX err
} }
// ServeLink serves incoming node-node link connection // ServeLink serves incoming node-node link connection
......
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