fix linters
This commit is contained in:
parent
e7c82a28dd
commit
027dafe906
|
@ -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