Skip to content

Commit

Permalink
Update podurl
Browse files Browse the repository at this point in the history
  • Loading branch information
pritamdas99 committed Sep 20, 2024
1 parent e747dc9 commit a6f6733
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 @@ -79,7 +79,7 @@ func (o *KubeDBClientBuilder) WithContext(ctx context.Context) *KubeDBClientBuil

func (o *KubeDBClientBuilder) GetSolrClient() (*Client, error) {
if o.podName != "" {
o.url = o.GetHostPath(o.db)
o.url = fmt.Sprintf("%v://%s.%s.svc.cluster.local:%d", o.db.GetConnectionScheme(), o.podName, o.db.GetNamespace(), kubedb.SolrRestPort)
}
if o.url == "" {
o.url = o.GetHostPath(o.db)
Expand Down

0 comments on commit a6f6733

Please sign in to comment.