mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-11 15:21:03 +01:00
Fix some header formatting in bin/storage probe
Summary: Ref T9514. I missed these when I swapped out the console stuff recently. Test Plan: Ran `bin/storage probe`, saw bold instead of escape sequences. Reviewers: chad Reviewed By: chad Maniphest Tasks: T9514 Differential Revision: https://secure.phabricator.com/D14240
This commit is contained in:
parent
4d5278af11
commit
03fea70497
1 changed files with 6 additions and 6 deletions
|
@ -60,9 +60,9 @@ final class PhabricatorStorageManagementProbeWorkflow
|
||||||
$overall);
|
$overall);
|
||||||
|
|
||||||
$table->addRow(array(
|
$table->addRow(array(
|
||||||
'name' => phutil_console_format('**%s**', $db),
|
'name' => tsprintf('**%s**', $db),
|
||||||
'size' => phutil_console_format('**%s**', $database_size),
|
'size' => tsprintf('**%s**', $database_size),
|
||||||
'percentage' => phutil_console_format('**%s**', $database_percentage),
|
'percentage' => tsprintf('**%s**', $database_percentage),
|
||||||
));
|
));
|
||||||
$data[$db] = isort($data[$db], '_totalSize');
|
$data[$db] = isort($data[$db], '_totalSize');
|
||||||
foreach ($data[$db] as $table_name => $info) {
|
foreach ($data[$db] as $table_name => $info) {
|
||||||
|
@ -82,9 +82,9 @@ final class PhabricatorStorageManagementProbeWorkflow
|
||||||
$overall,
|
$overall,
|
||||||
$overall);
|
$overall);
|
||||||
$table->addRow(array(
|
$table->addRow(array(
|
||||||
'name' => phutil_console_format('**%s**', pht('TOTAL')),
|
'name' => tsprintf('**%s**', pht('TOTAL')),
|
||||||
'size' => phutil_console_format('**%s**', $overall_size),
|
'size' => tsprintf('**%s**', $overall_size),
|
||||||
'percentage' => phutil_console_format('**%s**', $overall_percentage),
|
'percentage' => tsprintf('**%s**', $overall_percentage),
|
||||||
));
|
));
|
||||||
|
|
||||||
$table->draw();
|
$table->draw();
|
||||||
|
|
Loading…
Reference in a new issue