1
0
mirror of https://github.com/rancher/steve.git synced 2025-09-13 13:59:40 +00:00

Change which object needs DeepCopy

This commit is contained in:
Jonathan Crowther
2024-03-13 19:41:21 -04:00
parent cec59c5a61
commit abbe805737
2 changed files with 2 additions and 13 deletions

View File

@@ -49,7 +49,7 @@ func debounceCounts(result chan types.APIEvent, input chan Count) {
}
case <-t.C:
if currentCount != nil {
result <- toAPIEvent(*currentCount.DeepCopy())
result <- toAPIEvent(*currentCount)
currentCount = nil
}
}