Fix renamed variable name.

This commit is contained in:
Kevin Baensch 2022-11-18 09:45:24 +01:00
parent d6250457e2
commit 7240d0fcea

View file

@ -18,7 +18,7 @@ get_host_list() {
do do
# Query individual container to access relevant data # Query individual container to access relevant data
CONTAINER_DATA=$(query_docker "containers/${id}/json") CONTAINER_DATA=$(query_docker "containers/${id}/json")
if $RESOLVE_LOCALHOST if $RESOLVE_DOCKERHOST
then then
HOST_IP=$(echo $CONTAINER_DATA | jq -cr '.NetworkSettings.Networks.proxy.IPAddress') HOST_IP=$(echo $CONTAINER_DATA | jq -cr '.NetworkSettings.Networks.proxy.IPAddress')
else else