From d060e52bc8a32adfe7fd3344829e9705e8d07cf3 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Tue, 22 Oct 2024 15:57:27 +0200 Subject: [PATCH] - --- bundle/run/job_test.go | 2 +- cmd/bundle/run.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bundle/run/job_test.go b/bundle/run/job_test.go index 44d0f1d71..14995f880 100644 --- a/bundle/run/job_test.go +++ b/bundle/run/job_test.go @@ -150,7 +150,7 @@ func runJobRunnerRestartTest(t *testing.T, jobSettings *jobs.JobSettings) { m := mocks.NewMockWorkspaceClient(t) b.SetWorkpaceClient(m.WorkspaceClient) ctx := context.Background() - ctx = cmdio.InContext(ctx, cmdio.NewIO(flags.OutputText, &bytes.Buffer{}, &bytes.Buffer{}, &bytes.Buffer{}, "", "...")) + ctx = cmdio.InContext(ctx, cmdio.NewIO(flags.OutputText, &bytes.Buffer{}, &bytes.Buffer{}, &bytes.Buffer{}, "", "")) ctx = cmdio.NewContext(ctx, cmdio.NewLogger(flags.ModeAppend)) jobApi := m.GetMockJobsAPI() diff --git a/cmd/bundle/run.go b/cmd/bundle/run.go index ad904c3de..ed5bd2ef1 100644 --- a/cmd/bundle/run.go +++ b/cmd/bundle/run.go @@ -101,7 +101,6 @@ task or a Python wheel task, the second example applies. } runOptions.NoWait = noWait - var output output.RunOutput if restart { output, err = runner.Restart(ctx, &runOptions)