Skip to content

Commit

Permalink
Merge pull request #111 from mihaelabalutoiu/fix-pools-typo
Browse files Browse the repository at this point in the history
Fix `runner/pools.go` typo
  • Loading branch information
gabriel-samfira authored Jun 21, 2023
2 parents 1ebbbd6 + d698e28 commit f5226ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner/pools.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (r *Runner) UpdatePoolByID(ctx context.Context, poolID string, param params
} else if pool.EnterpriseID != "" {
newPool, err = r.store.UpdateEnterprisePool(ctx, pool.EnterpriseID, poolID, param)
} else {
return params.Pool{}, fmt.Errorf("pool not bound to a repo, org or enterprise")
return params.Pool{}, fmt.Errorf("pool not found to a repo, org or enterprise")
}

if err != nil {
Expand Down

0 comments on commit f5226ae

Please sign in to comment.