Fix CI Lint error

This commit is contained in:
Jesper Noordsij 2026-03-09 09:18:56 +01:00
parent acc88a211a
commit 14ce87684a
No known key found for this signature in database

View file

@ -415,7 +415,7 @@ func (p *DynConfBuilder) getIPAddress(ctx context.Context, container dockerData)
}
for _, network := range container.NetworkSettings.Networks {
if netNotFound {
logger.Warn().Msgf("Defaulting to first available network (%q) for container %q.", network, container.Name)
logger.Warn().Msgf("Defaulting to first available network (%q) for container %q.", network.Name, container.Name)
}
return network.Addr
}