1
0
Fork 0
mirror of synced 2024-06-03 03:14:50 +12:00

fix linters

This commit is contained in:
Damodar Lohani 2022-10-18 07:26:28 +00:00
parent e7c82a28dd
commit 027dafe906

View file

@ -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);
}