F #3951: fix logs provision create (#656)

Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
This commit is contained in:
Jorge Miguel Lobo Escalona authored and GitHub committed 2021-01-18 10:23:56 +01:00
1 parent 940b38a903
commit b4565b9b78
1 file changed
+1 -1
@@ -393,7 +393,7 @@ const createProvision = (res = {}, next = () => undefined, params = {}, userData
lastLine = line
const renderLine = { id: files.name, data: line, command: command, commandId: uuid }
stream.write(`${JSON.stringify(renderLine)}\n`)
publish(defaultCommandProvision)
publish(defaultCommandProvision, renderLine)
}
})
}