You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by bz...@apache.org on 2025/11/14 01:29:25 UTC

(apisix-ingress-controller) branch bzp/fix-au-status-updater-kind-unknown created (now a5783ae8)

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

bzp2010 pushed a change to branch bzp/fix-au-status-updater-kind-unknown
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git


      at a5783ae8 fix: status updater prints the kind of ApisixUpstream as unknown

This branch includes the following new commits:

     new a5783ae8 fix: status updater prints the kind of ApisixUpstream as unknown

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(apisix-ingress-controller) 01/01: fix: status updater prints the kind of ApisixUpstream as unknown

Posted by bz...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bzp2010 pushed a commit to branch bzp/fix-au-status-updater-kind-unknown
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git

commit a5783ae87afdbb0cbf370846f0b9950be8dec816
Author: bzp2010 <bz...@apache.org>
AuthorDate: Fri Nov 14 09:29:13 2025 +0800

    fix: status updater prints the kind of ApisixUpstream as unknown
---
 internal/types/k8s.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/internal/types/k8s.go b/internal/types/k8s.go
index 922707d6..61939485 100644
--- a/internal/types/k8s.go
+++ b/internal/types/k8s.go
@@ -104,6 +104,8 @@ func KindOf(obj any) string {
 		return KindApisixTls
 	case *v2.ApisixConsumer:
 		return KindApisixConsumer
+	case *v2.ApisixUpstream:
+		return KindApisixUpstream
 	case *v1alpha1.HTTPRoutePolicy:
 		return KindHTTPRoutePolicy
 	case *v1alpha1.BackendTrafficPolicy: