Skip to content

Commit

Permalink
SRE-48 Resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitris Spachos committed Jan 7, 2021
1 parent 940dae3 commit fd02299
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Audit/StorageSpace.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ public function audit(Sandbox $sandbox) {
} //end for

if (count($storage_warnings)) {
$msg = "The following filesystems are bellow or euqal to the threshold ({$threshold}%)." . PHP_EOL;
$msg = "The following filesystems are bellow or equal to the threshold ({$threshold}%)." . PHP_EOL;
foreach ($storage_warnings as $item) {
$msg .= $item . PHP_EOL;
}
$sandbox->setParameter('warning_message', $msg);
return Audit::WARNING;
$sandbox->setParameter('status', $msg);
return Audit::FAILURE;
}

$sandbox->setParameter('status', "All filestystems have free space above threshhold ({$threshold}%).");
$sandbox->setParameter('status', "All filestystems have free space above threshold ({$threshold}%).");
return Audit::SUCCESS;
}
}

0 comments on commit fd02299

Please sign in to comment.