Skip to content

Commit

Permalink
home: custom client cache
Browse files Browse the repository at this point in the history
  • Loading branch information
schzhn committed Oct 9, 2024
1 parent 6363f8a commit 66fa039
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/home/clients.go
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,11 @@ func (clients *clientsContainer) UpstreamConfigByID(
)
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
}

Expand Down

0 comments on commit 66fa039

Please sign in to comment.