Skip to content

Commit

Permalink
[dbnode] Fix client config respecting value for connect consistency (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
robskillington authored Nov 18, 2020
1 parent e2226ab commit 4472043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dbnode/client/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ func (c Configuration) NewAdminClient(
v = v.SetReadConsistencyLevel(*c.ReadConsistencyLevel)
}
if c.ConnectConsistencyLevel != nil {
v.SetClusterConnectConsistencyLevel(*c.ConnectConsistencyLevel)
v = v.SetClusterConnectConsistencyLevel(*c.ConnectConsistencyLevel)
}
if c.BackgroundHealthCheckFailLimit != nil {
v = v.SetBackgroundHealthCheckFailLimit(*c.BackgroundHealthCheckFailLimit)
Expand Down

0 comments on commit 4472043

Please sign in to comment.