Skip to content

Commit

Permalink
Minor changes in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Luis Lucas authored and iknite committed Feb 21, 2019
1 parent 75b5df1 commit 78da9d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions gossip/auditor/auditor.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,11 @@ type Auditor struct {
func NewAuditor(conf Config) (*Auditor, error) {
metrics.Qed_auditor_instances_count.Inc()
auditor := Auditor{
<<<<<<< HEAD
qed: client.NewHTTPClient(client.Config{
Endpoint: conf.QEDUrls[0],
APIKey: conf.APIKey,
Cluster: client.QEDCluster{Endpoints: conf.QEDUrls, Leader: conf.QEDUrls[0]},
APIKey: conf.APIKey,
Insecure: false,
}),
=======
qed: client.NewHttpClient(conf.QEDUrls, conf.APIKey),
>>>>>>> WIP
conf: conf,
taskCh: make(chan Task, 100),
quitCh: make(chan bool),
Expand Down
2 changes: 1 addition & 1 deletion gossip/monitor/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func NewMonitor(conf Config) (*Monitor, error) {

monitor := Monitor{
client: client.NewHTTPClient(client.Config{
Cluster: conf.QEDUrls,
Cluster: client.QEDCluster{Endpoints: conf.QEDUrls, Leader: conf.QEDUrls[0]},
APIKey: conf.APIKey,
Insecure: false,
}),
Expand Down

0 comments on commit 78da9d6

Please sign in to comment.