diff --git a/adapter/internal/operator/controllers/dp/api_controller.go b/adapter/internal/operator/controllers/dp/api_controller.go index d8ef78c00..53615bcbf 100644 --- a/adapter/internal/operator/controllers/dp/api_controller.go +++ b/adapter/internal/operator/controllers/dp/api_controller.go @@ -1611,7 +1611,7 @@ func (apiReconciler *APIReconciler) getAPIsForSecret(ctx context.Context, obj k8 return []reconcile.Request{} } - backendList := &dpv1alpha1.BackendList{} + backendList := &dpv1alpha2.BackendList{} if err := apiReconciler.client.List(ctx, backendList, &k8client.ListOptions{ FieldSelector: fields.OneTermEqualSelector(secretBackend, utils.NamespacedName(secret).String()), }); err != nil {