Update function comment
| @@ -50,8 +50,8 @@ function getForwardedIp(req) { | ||
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | /** |
| 53 | 53 | * Resolves the IP addresses of Docker hostnames inand theadds whitelistthem to IPthe addresseswhitelist. |
| 54 | - * This function will modify the whitelist array in place. | |
| 54 | + * @returns {Promise<void>} Promise that resolves when the Docker hostnames are resolved | |
| 55 | 55 | */ |
| 56 | 56 | async function addDockerHostsToWhitelist() { |
| 57 | 57 | if (!whitelistDockerHosts || !isDocker()) { |