From d698e2815e3eef28a5c9eefa9a8be09f7ed65923 Mon Sep 17 00:00:00 2001 From: Mihaela Balutoiu Date: Tue, 20 Jun 2023 11:03:49 +0300 Subject: [PATCH] Fix `runner/pools.go` typo Signed-off-by: Mihaela Balutoiu --- runner/pools.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runner/pools.go b/runner/pools.go index f6561b68..60956010 100644 --- a/runner/pools.go +++ b/runner/pools.go @@ -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 {