1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-20 10:50:08 +03:00

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

Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
This commit is contained in:
Jorge Miguel Lobo Escalona 2021-01-18 10:23:56 +01:00 committed by GitHub
parent 940b38a903
commit b4565b9b78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}
})
}