Skip to content

Commit

Permalink
[INLONG-11709][SDK] Delete redundant default case in the discoverer o…
Browse files Browse the repository at this point in the history
…f Golang SDK (#11710)

Co-authored-by: gunli <[email protected]>
  • Loading branch information
gunli and gunli authored Jan 31, 2025
1 parent 3b4634e commit 2344e60
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,6 @@ func (d *dataProxyDiscoverer) update() {
d.lookup()
case <-stopCh:
return
default:
time.Sleep(500 * time.Millisecond)
}
}
}()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,6 @@ func (d *dnsDiscoverer) update() {
d.lookup()
case <-stopCh:
return
default:
time.Sleep(500 * time.Millisecond)
}
}
}()
Expand Down

0 comments on commit 2344e60

Please sign in to comment.