Update function comment

947a307b25e8eb7e66cea3608e33890e11e7d668

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -2Showing whitespace changes
src/middleware/whitelist.js+2 -2
@@ -50,8 +50,8 @@ function getForwardedIp(req) {
50}50}
5151
52/**52/**
53 * Resolves hostnames in the whitelist to IP addresses.53 * Resolves the IP addresses of Docker hostnames and adds them to the whitelist.
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 */
56async function addDockerHostsToWhitelist() {56async function addDockerHostsToWhitelist() {
57 if (!whitelistDockerHosts || !isDocker()) {57 if (!whitelistDockerHosts || !isDocker()) {