1
0
mirror of https://github.com/rancher/steve.git synced 2025-07-31 06:23:11 +00:00

Fix data race

This commit is contained in:
Jonathan Crowther 2024-04-11 09:33:55 -04:00
parent 3943409601
commit 2dfb9be3d5

View File

@ -181,7 +181,7 @@ func (s *Store) Watch(apiOp *types.APIRequest, schema *types.APISchema, w types.
counts[schema.ID] = itemCount
changedCount := map[string]ItemCount{
schema.ID: itemCount,
schema.ID: *itemCount.DeepCopy(),
}
result <- Count{