chore(runner): add soft deleted field

This commit is contained in:
Bo-Yi Wu
2022-10-12 14:37:57 +08:00
committed by Jason Song
parent 9648482ed6
commit 699f5c5a06
8 changed files with 14 additions and 19 deletions

View File

@@ -54,11 +54,8 @@ func (job *RunJob) LoadAttributes(ctx context.Context) error {
}
job.Run = run
}
if err := job.Run.LoadAttributes(ctx); err != nil {
return err
}
return nil
return job.Run.LoadAttributes(ctx)
}
// ErrRunJobNotExist represents an error for bot run job not exist