Skip to content

Commit

Permalink
Update ProvisioningPlan.php
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Mar 15, 2021
1 parent 0153a31 commit 831a5a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ProvisioningPlan.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ protected function convert($supervisor, $options)
return [Str::camel($key) => $value];
})->all();

if (isset($options['minProcesses']) && $options['minProcesses'] === 0) {
if (isset($options['minProcesses']) && $options['minProcesses'] < 1) {
throw new Exception("The value of [{$supervisor}.minProcesses] must be greater than 0.");
}

Expand Down

0 comments on commit 831a5a8

Please sign in to comment.