Skip to content

Commit

Permalink
Signed-off-by: niuyueyang <719415781@qq.com>
Browse files Browse the repository at this point in the history
	modified:   pkg/search/proxy/store/multi_cluster_cache.go
  • Loading branch information
niuyueyang1996 committed Apr 10, 2023
1 parent ca33310 commit 37f58dd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/search/proxy/store/multi_cluster_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ func (c *MultiClusterCache) Watch(ctx context.Context, gvr schema.GroupVersionRe
}

mux.AddSource(w, func(e watch.Event) {
// We can safely modify data because it is deepCopied in cacheWatcher.convertToWatchEvent
setObjectResourceVersionFunc(cluster, e.Object)
addCacheSourceAnnotation(e.Object, cluster)
})
Expand Down

0 comments on commit 37f58dd

Please sign in to comment.