mirror of
https://github.com/go-gitea/gitea
synced 2025-09-28 03:28:13 +00: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