We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a15a67a commit 4eb85d9Copy full SHA for 4eb85d9
internal/controller/consumer_controller.go
@@ -192,7 +192,7 @@ func (r *ConsumerReconciler) checkGatewayRef(object client.Object) bool {
192
ns = *consumer.Spec.GatewayRef.Namespace
193
}
194
gateway := &gatewayv1.Gateway{}
195
- if err := r.Get(context.TODO(), client.ObjectKey{
+ if err := r.Get(context.Background(), client.ObjectKey{
196
Name: consumer.Spec.GatewayRef.Name,
197
Namespace: ns,
198
}, gateway); err != nil {
0 commit comments