Files
moby/daemon/libnetwork/internal
Sebastiaan van Stijn 07e2a782c7 libnet/internal/resolvconf: Parse: improve error message
When attempting to read a (malformed) resolv.conf with a very long line,
a obscure error would be produced that didn't provide much context to
identify the problem;

    Handler for POST /v1.51/containers/mariadb11/start returned error: bufio.Scanner: token too long

This patch adds some additional error-handling to detect this situation,
and includes the filename of the resolv.conf to help the user locating
the file that failed to be parsed.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-06 14:43:51 +01:00
..
2025-12-15 18:56:34 +01:00
2025-08-01 00:49:22 +02:00
2025-08-01 00:49:22 +02:00
2025-08-01 00:49:22 +02:00
2025-08-01 00:49:22 +02:00
2025-09-26 13:36:39 +00:00
2025-08-01 00:49:22 +02:00