Skip to content

Commit

Permalink
Merge branch 'main' into v21_tim
Browse files Browse the repository at this point in the history
  • Loading branch information
timhuynh94 authored Aug 25, 2023
2 parents 620618c + b56d0ca commit 3fa44fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/vela-worker/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func (w *Worker) exec(index int, config *library.Worker) error {
build.SetStatus(constants.StatusError)
build.SetFinished(time.Now().UTC().Unix())

_, _, err := w.VelaClient.Build.Update(item.Repo.GetOrg(), item.Repo.GetName(), build)
_, _, err := execBuildClient.Build.Update(item.Repo.GetOrg(), item.Repo.GetName(), build)
if err != nil {
logrus.Errorf("Unable to set build status to %s: %s", constants.StatusFailure, err)
return err
Expand Down

0 comments on commit 3fa44fa

Please sign in to comment.