From cbb2afe16dd4a2079377fa1d34fb54f6077eb40d Mon Sep 17 00:00:00 2001 From: pritamdas99 Date: Wed, 17 Jul 2024 13:15:50 +0600 Subject: [PATCH] Update client Signed-off-by: pritamdas99 --- solr/kubedb_client_builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solr/kubedb_client_builder.go b/solr/kubedb_client_builder.go index b208d166..f4df9368 100644 --- a/solr/kubedb_client_builder.go +++ b/solr/kubedb_client_builder.go @@ -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)