home: custom client cache

This commit is contained in:
Stanislav Chzhen 2024-10-09 17:30:58 +03:00
parent 6363f8a2e7
commit 66fa039ede

View file

@ -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
} }