fix(portal-api): update machine's primaryIp

This commit is contained in:
Sérgio Ramos 2017-09-06 11:14:20 +01:00
parent cceacbebab
commit fa0a6b9ffc

View File

@ -203,6 +203,7 @@ module.exports = class MachineWatcher {
const updatedInstance = {
id: instance.id,
primaryIp: machine.primaryIp,
status: (machine.state || '').toUpperCase()
};