Skip to content

Commit

Permalink
fix(cluster update): separate cache update context from API call
Browse files Browse the repository at this point in the history
  • Loading branch information
karol-kokoszka committed Feb 12, 2025
1 parent 59372b6 commit 5be1b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/scylla-manager/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func (s *server) makeServices(ctx context.Context) error {
func (s *server) onClusterChange(ctx context.Context, c cluster.Change) error {
switch c.Type {
case cluster.Update:
go s.configCacheSvc.ForceUpdateCluster(ctx, c.ID)
go s.configCacheSvc.ForceUpdateCluster(context.Background(), c.ID)
case cluster.Create:
s.configCacheSvc.ForceUpdateCluster(ctx, c.ID)
for _, t := range makeAutoHealthCheckTasks(c.ID) {
Expand Down

0 comments on commit 5be1b62

Please sign in to comment.