We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 467ddf9 commit 31c9d7cCopy full SHA for 31c9d7c
app/Nova/Metrics/ServerResource.php
@@ -31,7 +31,7 @@ public function calculate(NovaRequest $request): PartitionResult
31
$process = new Process($command, '/home');
32
$process->run();
33
$used = (int) $process->getOutput();
34
- $value = $this->type === 'space' ? round($used / 1024, 2) : $used;
+ $value = $this->type === 'space' ? round($used / 1024 / 1024, 2) : $used;
35
$total = $this->type === 'space' ? round((int) config('app.disk_space_limit') / 1024 / 1024 / 1024, 2) : (int) config('app.disk_inode_limit');
36
37
return $this->result([
0 commit comments