mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-22 04:55:33 +03:00
Pull request 2290: 7250-custom-client-cache
Updates #7250. Squashed commit of the following: commit062660f17e
Author: Stanislav Chzhen <s.chzhen@adguard.com> Date: Wed Oct 9 17:42:17 2024 +0300 all: upd chlog commit66fa039ede
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:
parent
6363f8a2e7
commit
73ff401b0f
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue