jenkins-bot has submitted this change and it was merged.

Change subject: Fixed totally broken runner JSON response code
......................................................................


Fixed totally broken runner JSON response code

* Broken since 0a8cd64f84e80e2a800bc2002f15216a67e45fb6

Change-Id: I98b8a4ddbcdd58d1f2f23e4b1bf154f10b6b279e
---
M rpc/RunJobs.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  BryanDavis: Looks good to me, but someone else must approve
  20after4: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/rpc/RunJobs.php b/rpc/RunJobs.php
old mode 100644
new mode 100755
index 65a5f77..2085ab5
--- a/rpc/RunJobs.php
+++ b/rpc/RunJobs.php
@@ -41,7 +41,7 @@
                'maxTime'  => isset( $_GET['maxtime'] ) ? $_GET['maxtime'] : 30
        ) );
 
-       print json_encode( $wikis, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | 
JSON_UNESCAPED_UNICODE );
+       print json_encode( $response, JSON_PRETTY_PRINT | 
JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE );
 
        $mediawiki->restInPeace();
 } catch ( Exception $e ) {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I98b8a4ddbcdd58d1f2f23e4b1bf154f10b6b279e
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: 20after4 <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to