forked from TrueCloudLab/frostfs-node
[#1437] node: Use ctx for logging
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
c16dae8b4d
commit
6db46257c0
157 changed files with 764 additions and 713 deletions
|
@ -10,13 +10,13 @@ import (
|
|||
)
|
||||
|
||||
func (exec *execCtx) executeLocal(ctx context.Context) error {
|
||||
exec.log.Debug(logs.DeleteFormingTombstoneStructure)
|
||||
exec.log.Debug(ctx, logs.DeleteFormingTombstoneStructure)
|
||||
|
||||
if err := exec.formTombstone(ctx); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
exec.log.Debug(logs.DeleteTombstoneStructureSuccessfullyFormedSaving)
|
||||
exec.log.Debug(ctx, logs.DeleteTombstoneStructureSuccessfullyFormedSaving)
|
||||
|
||||
return exec.saveTombstone(ctx)
|
||||
}
|
||||
|
@ -33,7 +33,7 @@ func (exec *execCtx) formTombstone(ctx context.Context) error {
|
|||
)
|
||||
exec.addMembers([]oid.ID{exec.address().Object()})
|
||||
|
||||
exec.log.Debug(logs.DeleteFormingSplitInfo)
|
||||
exec.log.Debug(ctx, logs.DeleteFormingSplitInfo)
|
||||
|
||||
if err := exec.formExtendedInfo(ctx); err != nil {
|
||||
return fmt.Errorf("form extended info: %w", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue