forked from TrueCloudLab/frostfs-node
Dmitrii Stepanov
e8d340287f
Resolve containedctx linter. Cancel task by listen cancel. Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
10 lines
206 B
Go
10 lines
206 B
Go
package audittask
|
|
|
|
import (
|
|
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/services/audit"
|
|
)
|
|
|
|
// PushTask adds a task to the queue for processing.
|
|
func (m *Manager) PushTask(t *audit.Task) {
|
|
m.ch <- t
|
|
}
|