sysinfo: add missing return
This commit is contained in:
@@ -19,7 +19,7 @@ async function getServerIp(config) {
|
||||
|
||||
let attempt = 0;
|
||||
|
||||
await promiseRetry({ times: 10, interval: 5000 }, async () => {
|
||||
return await promiseRetry({ times: 10, interval: 5000 }, async () => {
|
||||
if (attempt) debug(`getServerIp: getting server IP. attempt ${attempt}`);
|
||||
++attempt;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user