You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ga...@apache.org on 2023/04/14 09:10:42 UTC

[apisix-ingress-controller] branch master updated: fix: error message typo (#1790)

This is an automated email from the ASF dual-hosted git repository.

gallardot pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git


The following commit(s) were added to refs/heads/master by this push:
     new 98ff8e52 fix: error message typo (#1790)
98ff8e52 is described below

commit 98ff8e525365b3f1d25a404d63b5da2195f6fe54
Author: Tristan <ji...@foxmail.com>
AuthorDate: Fri Apr 14 17:10:35 2023 +0800

    fix: error message typo (#1790)
---
 pkg/apisix/cluster.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/apisix/cluster.go b/pkg/apisix/cluster.go
index a318ace9..7f551208 100644
--- a/pkg/apisix/cluster.go
+++ b/pkg/apisix/cluster.go
@@ -50,7 +50,7 @@ const (
 
 var (
 	// ErrClusterNotExist means a cluster doesn't exist.
-	ErrClusterNotExist = errors.New("client not exist")
+	ErrClusterNotExist = errors.New("cluster not exist")
 	// ErrDuplicatedCluster means the cluster adding request was
 	// rejected since the cluster was already created.
 	ErrDuplicatedCluster = errors.New("duplicated cluster")