Update cmd/survey/survey.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -37,7 +37,7 @@ func taskLoop(ctx context.Context, svc *service.Services, tasks []*tasks.Task, i
|
|||||||
task.SetInterface(interfaces[interfaceIndex])
|
task.SetInterface(interfaces[interfaceIndex])
|
||||||
|
|
||||||
if err := task.Initialize(ctx, svc); err != nil {
|
if err := task.Initialize(ctx, svc); err != nil {
|
||||||
return fmt.Errorf("Failed to initialize task: %w", err)
|
return fmt.Errorf("failed to initialize task: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := task.IntroduceTask(); err != nil {
|
if err := task.IntroduceTask(); err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user