mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2026-01-15 21:38:11 +00:00
home: imp docs
This commit is contained in:
@@ -690,7 +690,8 @@ func parseConfig(ctx context.Context, l *slog.Logger) (err error) {
|
||||
|
||||
// logIPHint logs an informational message when the config contains an unquoted
|
||||
// IP address with a trailing colon. It's a best-effort check for a YAML
|
||||
// parsing behavior where a list item is decoded as {key: null}.
|
||||
// parsing behavior where a list item is decoded as {key: null}. l must not be
|
||||
// nil.
|
||||
func logIPHint(ctx context.Context, l *slog.Logger, data []byte) {
|
||||
var conf struct {
|
||||
DNS struct {
|
||||
|
||||
Reference in New Issue
Block a user