forked from TrueCloudLab/frostfs-node
[#222] auditsvc: Refactor audit task
Resolve containedctx linter. Cancel task by listen cancel. Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
3dbff0a478
commit
e8d340287f
10 changed files with 66 additions and 58 deletions
|
@ -24,7 +24,7 @@ type (
|
|||
}
|
||||
|
||||
TaskManager interface {
|
||||
PushTask(*audit.Task) error
|
||||
PushTask(*audit.Task)
|
||||
|
||||
// Must skip all tasks planned for execution and
|
||||
// return their number.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue