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:
@@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user