]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
make the documentation not lie about elasticsearch_nodes
authorDylan William Hardison <dylan@hardison.net>
Wed, 8 Mar 2017 15:47:47 +0000 (10:47 -0500)
committerDylan William Hardison <dylan@hardison.net>
Wed, 8 Mar 2017 15:48:20 +0000 (10:48 -0500)
Bugzilla/Elastic/Role/HasClient.pm

index 3d52d513a81bca114117c633d54e76918d03ec89..03a6163103005ef692249676c9a8909ef2dd514a 100644 (file)
@@ -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',
     );
 }