Skip to content

Commit

Permalink
bug: change err log to info in findOwningGateway (#1364)
Browse files Browse the repository at this point in the history
Change err log to info in findOwningGateway

* Its not an error case when the managed envoy service or deployment
get reconciled after a gateway is deleted, since deleting the managed
service and deployment asscoiated with the gateway might not be
instanteous.

Fixes: #1347

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
  • Loading branch information
arkodg committed Apr 26, 2023
1 parent 4adbc2a commit a5d3f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/kubernetes/predicates.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ func (r gatewayAPIReconciler) findOwningGateway(ctx context.Context, labels map[
gatewayKey := types.NamespacedName{Namespace: gwNamespace, Name: gwName}
gtw := new(gwapiv1b1.Gateway)
if err := r.client.Get(ctx, gatewayKey, gtw); err != nil {
r.log.Error(err, "gateway not found")
r.log.Info("gateway not found", "namespace", gtw.Namespace, "name", gtw.Name)
return nil
}

Expand Down

0 comments on commit a5d3f36

Please sign in to comment.