Giuseppe Lavagetto has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/282154

Change subject: Make ElasticaTTMServer config work with the new CirrusSearch 
structure
......................................................................

Make ElasticaTTMServer config work with the new CirrusSearch structure

Change-Id: I7735243d572fc6ec0c86dd64f5e51529977bfd0b
---
M wmf-config/CommonSettings.php
1 file changed, 1 insertion(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/54/282154/1

diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 9d2b734..61d6a8c 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -2345,10 +2345,7 @@
 
        $wgTranslateTranslationServices = array();
        if ( $wmgUseTranslationMemory ) {
-               $servers = array_map(
-                       function ( $v ) { return array( 'host' => $v ); },
-                       $wgCirrusSearchClusters[$wgCirrusSearchDefaultCluster]
-               );
+               $servers = 
$wgCirrusSearchClusters[$wgCirrusSearchDefaultCluster];
                // Read only until renamed to 'TTMServer'
                $wgTranslateTranslationServices['TTMServer'] = array(
                        'type' => 'ttmserver',

-- 
To view, visit https://gerrit.wikimedia.org/r/282154
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7735243d572fc6ec0c86dd64f5e51529977bfd0b
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Giuseppe Lavagetto <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to