Pull request 2290: 7250-custom-client-cache
Updates #7250. Squashed commit of the following: commit 062660f17e164b92a3254c5b79543080c6884dd5 Author: Stanislav Chzhen <s.chzhen@adguard.com> Date: Wed Oct 9 17:42:17 2024 +0300 all: upd chlog commit 66fa039ede456454f26b3bfedefabfe71beda3ab Author: Stanislav Chzhen <s.chzhen@adguard.com> Date: Wed Oct 9 17:30:58 2024 +0300 home: custom client cache
This commit is contained in:
@@ -31,10 +31,12 @@ NOTE: Add new changes BELOW THIS COMMENT.
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
- Custom client cache ([#7250]).
|
||||||
- Missing runtime clients with information from the system hosts file on first
|
- Missing runtime clients with information from the system hosts file on first
|
||||||
AdGuard Home start ([#7315]).
|
AdGuard Home start ([#7315]).
|
||||||
|
|
||||||
[#6818]: https://github.com/AdguardTeam/AdGuardHome/issues/6818
|
[#6818]: https://github.com/AdguardTeam/AdGuardHome/issues/6818
|
||||||
|
[#7250]: https://github.com/AdguardTeam/AdGuardHome/issues/7250
|
||||||
[#7315]: https://github.com/AdguardTeam/AdGuardHome/issues/7315
|
[#7315]: https://github.com/AdguardTeam/AdGuardHome/issues/7315
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|||||||
@@ -417,6 +417,11 @@ func (clients *clientsContainer) UpstreamConfigByID(
|
|||||||
)
|
)
|
||||||
c.UpstreamConfig = conf
|
c.UpstreamConfig = conf
|
||||||
|
|
||||||
|
err = clients.storage.Update(c.Name, c)
|
||||||
|
if err != nil {
|
||||||
|
return nil, fmt.Errorf("setting upstream config: %w", err)
|
||||||
|
}
|
||||||
|
|
||||||
return conf, nil
|
return conf, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user