summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Elastic/Role/HasClient.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Elastic/Role/HasClient.pm')
-rw-r--r--Bugzilla/Elastic/Role/HasClient.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Elastic/Role/HasClient.pm b/Bugzilla/Elastic/Role/HasClient.pm
index 3d52d513a..8e2687880 100644
--- a/Bugzilla/Elastic/Role/HasClient.pm
+++ b/Bugzilla/Elastic/Role/HasClient.pm
@@ -17,7 +17,7 @@ sub _build_client {
my ($self) = @_;
return Search::Elasticsearch->new(
- nodes => Bugzilla->params->{elasticsearch_nodes},
+ nodes => [ split(/\s+/, Bugzilla->params->{elasticsearch_nodes}) ],
cxn_pool => 'Sniff',
);
}