Skip to content

Commit

Permalink
One change
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharpz7 committed Jan 2, 2021
1 parent 68b1acc commit 47f227b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ func (job *taskJob) Stop() {
cmd = job.DockerStop()
}

out, err := cmd.CombinedOutput()
handleAPI(err, job, string(out))
err := cmd.Run()
handleAPI(err, job, "Failed to Stop Job")

// Sleeps to API can pick it up
time.Sleep(2 * time.Second)
Expand Down

0 comments on commit 47f227b

Please sign in to comment.