chore: deprecate old migrations
This commit is contained in:
parent
f5ba3dbf4e
commit
ca68fdd0a2
13 changed files with 15 additions and 2293 deletions
|
|
@ -129,6 +129,8 @@ function getMachineNames (config) {
|
|||
.then(([rawMachines, pings, events, config, heartbeat, performance]) => {
|
||||
const mergeByDeviceId = (x, y) => _.values(_.merge(_.keyBy('deviceId', x), _.keyBy('deviceId', y)))
|
||||
const machines = mergeByDeviceId(mergeByDeviceId(rawMachines, heartbeat), performance)
|
||||
console.log('machines', machines)
|
||||
console.log(machines.map(addName(pings, events, config)))
|
||||
|
||||
return machines.map(addName(pings, events, config))
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue