zoneedit1: Fix logged host names

This commit is contained in:
Richard Hansen 2024-07-27 22:19:40 -04:00
parent 9dce53ea4a
commit 71dc1f92e4

View file

@ -4409,8 +4409,8 @@ sub nic_zoneedit1_update {
redo if $line;
}
}
# TODO: Shouldn't this log join(',' @hosts) instead of $hosts?
failed("updating %s: no response from %s", $hosts, $groupcfg{'server'})
# @hosts was potentially mutated so $hosts is not used here.
failed("updating %s: no response from %s", join(',', @hosts), $groupcfg{'server'})
if @hosts;
}
}