mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-30 12:32:49 +09:00
chore: golang lint
This commit is contained in:
@ -50,10 +50,7 @@ func (tasks TaskList) LoadJobs(ctx context.Context) error {
|
||||
}
|
||||
|
||||
func (tasks TaskList) LoadAttributes(ctx context.Context) error {
|
||||
if err := tasks.LoadJobs(ctx); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
return tasks.LoadJobs(ctx)
|
||||
}
|
||||
|
||||
type FindTaskOptions struct {
|
||||
|
Reference in New Issue
Block a user