Skip to content

Commit

Permalink
Update client
Browse files Browse the repository at this point in the history
Signed-off-by: pritamdas99 <[email protected]>
  • Loading branch information
pritamdas99 committed Jul 17, 2024
1 parent fee8fa0 commit cbb2afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solr/kubedb_client_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func (o *KubeDBClientBuilder) GetSolrClient() (*Client, error) {
}

switch {
case version.Major() == 9:
case version.Major() >= 9:
newClient := resty.New()
newClient.SetScheme(config.connectionScheme).SetBaseURL(config.host).SetTransport(config.transport)
newClient.SetTimeout(time.Second * 30)
Expand Down

0 comments on commit cbb2afe

Please sign in to comment.