Fix runner/pools.go typo

Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
This commit is contained in:
Mihaela Balutoiu 2023-06-20 11:03:49 +03:00
parent 1ebbbd6915
commit d698e2815e

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 {