Skip to content

Commit

Permalink
Merge pull request #2555 from Tharsanan1/fix-api-key-secret-reconcila…
Browse files Browse the repository at this point in the history
…tion

Fix api key secret not reconciling relevant APIs
  • Loading branch information
Tharsanan1 authored Oct 9, 2024
2 parents 75d6bf1 + ae5378b commit b518f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapter/internal/operator/controllers/dp/api_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b518f57

Please sign in to comment.