Commit 42bff99e authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent f1b1bda5
......@@ -161,14 +161,11 @@ func (stor *Storage) Run(ctx context.Context, l xnet.Listener) (err error) {
// let master initialize us. If successful this ends with StartOperation command.
reqStart, err := stor.m1initialize(ctx, mlink)
if err != nil {
//log.Error(ctx, err)
return err
}
// we got StartOperation command. Let master drive us during service phase.
err = stor.m1serve(ctx, reqStart)
//log.Error(ctx, err)
return err
return stor.m1serve(ctx, reqStart)
})
// we are done - shutdown
......
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