mirror of
https://github.com/go-gitea/gitea
synced 2025-07-26 20:28:40 +00:00
chore: fix lint
This commit is contained in:
@@ -216,7 +216,6 @@ func GetRunByIndex(ctx context.Context, repoID, index int64) (*ActionRun, error)
|
||||
return nil, err
|
||||
} else if !has {
|
||||
return nil, fmt.Errorf("run with index %d %d: %w", repoID, index, util.ErrNotExist)
|
||||
|
||||
}
|
||||
|
||||
return run, nil
|
||||
|
@@ -217,7 +217,6 @@ func GetRunnerByID(ctx context.Context, id int64) (*ActionRunner, error) {
|
||||
return nil, err
|
||||
} else if !has {
|
||||
return nil, fmt.Errorf("runner with id %d: %w", id, util.ErrNotExist)
|
||||
|
||||
}
|
||||
return &runner, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user