frostfs-node/pkg/services/audit/taskmanager/push.go
Alex Vanin 20de74a505 Rename package name
Due to source code relocation from GitHub.

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2023-03-07 16:38:26 +03:00

13 lines
280 B
Go

package audittask
import (
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/services/audit"
)
// PushTask adds a task to the queue for processing.
//
// Returns error if task was not added to the queue.
func (m *Manager) PushTask(t *audit.Task) error {
m.ch <- t
return nil
}