Files
moby/daemon
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-12-15 18:56:34 +01:00
2025-12-16 16:55:20 +01:00
2025-07-31 10:13:29 -07:00
2025-12-02 02:30:14 +09:00
2025-12-11 11:07:42 +01:00
2025-12-15 18:56:34 +01:00
2026-01-05 12:42:49 +01:00
2025-05-30 15:59:13 +02:00
2025-12-15 18:56:34 +01:00
2025-12-15 10:36:05 +00:00
2025-05-30 15:59:13 +02:00
2025-07-31 10:13:29 -07:00
2025-12-15 18:56:34 +01:00
2025-12-15 18:56:34 +01:00
2025-12-15 18:56:34 +01:00
2025-12-15 18:56:34 +01:00
2025-11-05 15:48:02 +01:00
2025-12-15 18:56:34 +01:00
2025-12-15 13:59:09 +00:00
2025-08-01 01:48:55 +02:00