forked from TrueCloudLab/frostfs-node
Alex Vanin
20de74a505
Due to source code relocation from GitHub. Signed-off-by: Alex Vanin <a.vanin@yadro.com>
13 lines
280 B
Go
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
|
|
}
|