Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI-822: Add --task-wait option to API commands #1829

Merged
merged 11 commits into from
Nov 19, 2024
Prev Previous commit
Next Next commit
kill mutant
  • Loading branch information
danepowell committed Nov 19, 2024
commit f67720e4ef7156024fabf96015a77bffb2b23c75
2 changes: 1 addition & 1 deletion src/Command/Api/ApiCommandHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private function addApiCommandParameters(array $schema, array $acquiaCloudSpec,
}

// Add --task-wait parameter for responses with notifications.
if (array_key_exists('responses', $schema) && array_key_exists(202, $schema['responses'])) {
if (array_key_exists(202, $schema['responses'])) {
$inputDefinition[] = new InputOption('task-wait', null, InputOption::VALUE_NONE, 'Wait for this task to complete');
}

Expand Down
Loading