Aaron Schulz has uploaded a new change for review. https://gerrit.wikimedia.org/r/104762
Change subject: Made RefreshCdbJsonFiles include newlines in the JSON ...................................................................... Made RefreshCdbJsonFiles include newlines in the JSON * This makes the output more readable and is nice if the files ever end up in some deployment git repo Change-Id: I639c506ad58a3cd98eefe286c4237377006e9437 --- M files/scap/refreshCdbJsonFiles 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/62/104762/1 diff --git a/files/scap/refreshCdbJsonFiles b/files/scap/refreshCdbJsonFiles index a88217f..9fd4c13 100755 --- a/files/scap/refreshCdbJsonFiles +++ b/files/scap/refreshCdbJsonFiles @@ -181,7 +181,7 @@ if ( $first ) { $first = false; } else { - $data = ',' . $data; + $data = ",\n" . $data; } fwrite( $jsonHandle, $data ); $bytes += strlen( $data ); -- To view, visit https://gerrit.wikimedia.org/r/104762 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I639c506ad58a3cd98eefe286c4237377006e9437 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits