Skip to content

Commit

Permalink
fix: monitor client not found
Browse files Browse the repository at this point in the history
  • Loading branch information
张启航 committed Nov 20, 2023
1 parent 680955f commit c63d4ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion monitor/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ package monitor

import (
"context"
v3 "github.com/coreos/etcd/clientv3"
"time"

"github.com/coreos/etcd/clientv3"
"github.com/goodrain/rainbond/cmd/monitor/option"
discoverv1 "github.com/goodrain/rainbond/discover"
discoverv2 "github.com/goodrain/rainbond/discover.v2"
Expand All @@ -40,7 +42,7 @@ type Monitor struct {
config *option.Config
ctx context.Context
cancel context.CancelFunc
client *v3.Client
client *clientv3.Client
timeout time.Duration
manager *prometheus.Manager
discoverv1 discoverv1.Discover
Expand Down

0 comments on commit c63d4ba

Please sign in to comment.