[#271] service/audit: Add netmap structure to audit task

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2020-12-23 12:51:37 +03:00 committed by Alex Vanin
parent 64b022a5ed
commit dd5e67ff0c
2 changed files with 18 additions and 1 deletions

View file

@ -90,7 +90,8 @@ func (ap *Processor) processStartAudit(epoch uint64) {
WithContainerID(containers[i]).
WithStorageGroupList(storageGroups).
WithContainerStructure(cnr).
WithContainerNodes(nodes)
WithContainerNodes(nodes).
WithNetworkMap(nm)
if err := ap.taskManager.PushTask(auditTask); err != nil {
ap.log.Error("could not push audit task",