Skip to content
Snippets Groups Projects
Commit e5a7a85e authored by ale's avatar ale
Browse files

Fix a fairly obvious logic error

Creation of sharded/replicated clients was swapped, sigh.
parent 9c87d6c3
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ func NewBackend(config *BackendConfig) (Backend, error) {
}
}
if config.Sharded {
if !config.Sharded {
return &replicatedClient{
u: u,
c: newHTTPClient(u, tlsConfig),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment