Merge pull request #111 from mihaelabalutoiu/fix-pools-typo

Fix `runner/pools.go` typo
This commit is contained in:
Gabriel 2023-06-21 12:35:42 +03:00 committed by GitHub
commit f5226aec17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {