mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
fix linters
This commit is contained in:
parent
e7c82a28dd
commit
027dafe906
1 changed files with 3 additions and 3 deletions
|
|
@ -185,14 +185,14 @@ class Stats
|
|||
$functionBuildStatus = $this->params['buildStatus'] ?? '';
|
||||
$functionCompute = $functionExecutionTime + $functionBuildTime;
|
||||
$functionTags = $tags . ',functionId=' . $functionId;
|
||||
|
||||
|
||||
$deploymentSize = $this->params['deployment.{scope}.storage.size'] ?? 0;
|
||||
$storageSize = $this->params['files.{scope}.storage.size'] ?? 0;
|
||||
if($deploymentSize + $storageSize > 0) {
|
||||
if ($deploymentSize + $storageSize > 0) {
|
||||
$this->statsd->count('project.{scope}.storage.size' . $tags, $deploymentSize + $storageSize);
|
||||
}
|
||||
|
||||
if($deploymentSize > 0) {
|
||||
if ($deploymentSize > 0) {
|
||||
$this->statsd->count('deployments.{scope}.storage.size' . $functionTags, $deploymentSize);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue