Add missing await

This commit is contained in:
Girish Ramakrishnan
2022-04-14 15:40:51 -05:00
parent d54c03f0a0
commit 8d8cdd38a9

View File

@@ -75,7 +75,7 @@ async function allocateContainerIp(app) {
const iprange = iputils.intFromIp('172.18.20.255') - iputils.intFromIp('172.18.16.1');
let rnd = Math.floor(Math.random() * iprange);
const containerIp = iputils.ipFromInt(iputils.intFromIp('172.18.16.1') + rnd);
updateApp(app, { containerIp });
await updateApp(app, { containerIp });
});
}