We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a3299d commit 283ad72Copy full SHA for 283ad72
pkg/cache/v2/cluster.go
@@ -160,7 +160,10 @@ func (cache *ClusterCache) clearClusterStats(clusterName string) {
160
}
161
if len(keysToDelete) > 0 {
162
log.Debugf("remove cluster stats: %v", keysToDelete)
163
- cache.clusterStatsMap.BatchDelete(keysToDelete, nil)
+ _, err := cache.clusterStatsMap.BatchDelete(keysToDelete, nil)
164
+ if err != nil {
165
+ log.Errorf("failed to remove cluster stats: %v", err)
166
+ }
167
168
169
if err := it.Err(); err != nil {
0 commit comments