diff --git a/task.hosting.inc b/task.hosting.inc index 9c09c1b..ab3a6df 100644 --- a/task.hosting.inc +++ b/task.hosting.inc @@ -156,6 +156,9 @@ function drush_hosting_task() { $alias = $task->ref->hosting_name; } + if (!isset($task->task_command)) { + $task->task_command = 'provision-' . $task->task_type; + } // Run the actual command. Adding alias here to work around Drush API. $output = provision_backend_invoke($alias, $task->task_command, $task->args, $task->options, $mode); // Pass the drush output back to the HOOK_post_hosting_TASK_task() and