Skip to content

Commit

Permalink
chore(controllers) remove unnecessary call
Browse files Browse the repository at this point in the history
  • Loading branch information
rainest committed Aug 10, 2022
1 parent 8c3b3c0 commit 33bcae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controllers/gateway/gateway_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ func (r *GatewayReconciler) updateAddressesAndListenersStatus(
}
if !reflect.DeepEqual(gateway.Status.Listeners, listenerStatuses) {
gateway.Status.Listeners = listenerStatuses
return true, r.Status().Update(ctx, pruneGatewayStatusConds(gateway))
return true, r.Status().Update(ctx, gateway)
}
return false, nil
}
Expand Down

0 comments on commit 33bcae2

Please sign in to comment.