Skip to content

Commit

Permalink
Optimize log print.
Browse files Browse the repository at this point in the history
  • Loading branch information
little-cui committed Nov 17, 2017
1 parent 9dd4b0b commit 9484e2b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions server/core/registry/store/cacher.go
Expand Up @@ -519,8 +519,6 @@ func (c *KvCacher) Stop() {
c.goroute.Close(true)

util.SafeCloseChan(c.ready)

util.Logger().Debugf("cacher is stopped, %s", c.Cfg)
}

func (c *KvCacher) Ready() <-chan struct{} {
Expand Down
2 changes: 0 additions & 2 deletions server/core/registry/store/indexer.go
Expand Up @@ -302,8 +302,6 @@ func (i *Indexer) Stop() {
close(i.prefixBuildQueue)

util.SafeCloseChan(i.ready)

util.Logger().Debugf("%s indexer is stopped", i.cacheType)
}

func (i *Indexer) Ready() <-chan struct{} {
Expand Down

0 comments on commit 9484e2b

Please sign in to comment.