Skip to content

Commit

Permalink
Refine the logs of etcd client exit
Browse files Browse the repository at this point in the history
Signed-off-by: JmPotato <ghzpotato@gmail.com>
  • Loading branch information
JmPotato committed Jan 30, 2024
1 parent e0d58db commit 4af2f53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/utils/etcdutil/health_checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (checker *healthChecker) syncer(ctx context.Context) {
for {
select {
case <-ctx.Done():
log.Info("etcd client is closed, exit update endpoint goroutine",
log.Info("etcd client is closed, exit the endpoint syncer goroutine",
zap.String("source", checker.source))
return
case <-ticker.C:
Expand All @@ -110,7 +110,7 @@ func (checker *healthChecker) inspector(ctx context.Context) {
for {
select {
case <-ctx.Done():
log.Info("etcd client is closed, exit health check goroutine",
log.Info("etcd client is closed, exit the health inspector goroutine",
zap.String("source", checker.source))
checker.close()
return
Expand Down

0 comments on commit 4af2f53

Please sign in to comment.