Skip to content

Commit

Permalink
Move up client configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
aalda committed Apr 11, 2019
1 parent 4c5ae44 commit f5d71e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/agent_auditor.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ func runAgentAuditor(cmd *cobra.Command, args []string) error {
log.SetLogger("auditor", agentConfig.Log)

notifier := gossip.NewSimpleNotifierFromConfig(conf.Notifier)
qed, err := client.NewHTTPClientFromConfig(conf.Qed)
conf.Qed.AttemptToReviveEndpoints = true
conf.Qed.ReadPreference = client.Any
qed, err := client.NewHTTPClientFromConfig(conf.Qed)
if err != nil {
return err
}
Expand Down

0 comments on commit f5d71e5

Please sign in to comment.