Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feature/report-live'
Browse files Browse the repository at this point in the history
  • Loading branch information
hmzzrcs committed Oct 8, 2023
2 parents 035e87c + 2ced75a commit 4719680
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions etcd/etcdserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ var (
func (s *_Server) initEtcdServer() error {

c := s.etcdServerConfig()
defer func() {
if c.NewCluster {
_, _ = http.Get(fmt.Sprintf("https://statistics.apinto.com/report/deploy/n?id=%s", c.Name))
}
}()
s.name = c.Name
srv, err := createEtcdServer(c)
if err != nil {
Expand Down

0 comments on commit 4719680

Please sign in to comment.