Skip to content

Commit

Permalink
fix missing job name
Browse files Browse the repository at this point in the history
  • Loading branch information
aweris committed Jul 30, 2023
1 parent 06a72ae commit f9cc33e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/gale/gale.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ func Run(ctx context.Context, workflow, job string, opts ...RunOpts) dagger.With
return fail(container, ErrJobNotFound)
}

// ensure job name is set
if jm.Name == "" {
jm.Name = job
}

runID := uuid.New().String()

jr := &core.JobRun{
Expand Down

0 comments on commit f9cc33e

Please sign in to comment.