Fix runner/pools.go typo
Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
This commit is contained in:
parent
1ebbbd6915
commit
d698e2815e
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue