Skip to content
Snippets Groups Projects
Commit 08841219 authored by scott.wang's avatar scott.wang
Browse files

add cache store debug

parent b9489669
Branches
Tags
No related merge requests found
......@@ -93,7 +93,6 @@ func newDubboRegistryController(ctx context.Context) (*dubboRegistryController,
// 2. put every element to watcherSet
func (c *dubboRegistryController) initWatchSet() error {
for _, ns := range c.needWatchedNamespaceList {
pods, err := c.kc.CoreV1().Pods(ns).List(metav1.ListOptions{
......
......@@ -344,7 +344,10 @@ func newWatcherSet(ctx context.Context) WatcherSet {
select{
case <- ticker.C:
}
logger.Infof("store have %v", s.cache)
for k := range s.cache{
logger.Infof("store have %v", k)
}
}
}()
go s.closeWatchers()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment