While testing my previous patches were correct I noticed that the string
here was logged exactly as written, and was thus pretty useless. This
was probably meant to be an f-string. So make it one. Also get rid of
the unnecessary map call, the list and IP address type can repr
themselves just fine IMO.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit
19e664fcdfeb62134db5d40210c40c63f7406a05)
if not ctx.vip:
# do this only once (use the first remote we see), since we only need 1
# set of virtual IPs, regardless of how many remotes we have.
- log.info("VIPs are {map(str, vips)}")
+ log.info(f"VIPs are {vips!r}")
ctx.vip = {
'vnet': vnet,
'vips': vips,