home: custom client cache
This commit is contained in:
parent
6363f8a2e7
commit
66fa039ede
|
@ -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 New Issue