diff --git a/src/ProvisioningPlan.php b/src/ProvisioningPlan.php index d97ab994..1a7cef6a 100644 --- a/src/ProvisioningPlan.php +++ b/src/ProvisioningPlan.php @@ -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."); }