Isolate our basis validity to single operation
This commit is contained in:
parent
f39e5709f4
commit
5b04ac5c35
@ -65,7 +65,6 @@ func (r *Runner) executeJob(
|
||||
opts := []core.BasisOption{
|
||||
core.WithLogger(log),
|
||||
core.WithUI(ui),
|
||||
core.WithPluginManager(r.plugins),
|
||||
core.WithClient(r.client),
|
||||
core.WithJobInfo(jobInfo),
|
||||
}
|
||||
@ -84,7 +83,7 @@ func (r *Runner) executeJob(
|
||||
opts = append(opts, core.WithBasisRef(ref))
|
||||
|
||||
// Load our basis
|
||||
b, err := r.factory.New("", opts...)
|
||||
b, err := r.factory.New(job.Id, opts...)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user