1
1
mirror of https://github.com/go-gitea/gitea synced 2025-10-30 02:48:26 +00:00

feat: fetch job data

This commit is contained in:
Jason Song
2022-10-14 16:18:14 +08:00
parent 027d748fe2
commit d320eb66f4
6 changed files with 208 additions and 111 deletions

View File

@@ -73,7 +73,7 @@ func GetRunJobByID(ctx context.Context, id int64) (*RunJob, error) {
if err != nil {
return nil, err
} else if !has {
return nil, ErrRunNotExist{
return nil, ErrRunJobNotExist{
ID: id,
}
}