Skip to content

Implement Status Updater Retrying on Failures #1062

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Sep 27, 2023
Merged
Prev Previous commit
Next Next commit
Fix renaming mistake
  • Loading branch information
bjee19 committed Sep 26, 2023
commit 1fdb2a3d1261886938204d5631e72a26f347b652
4 changes: 2 additions & 2 deletions internal/framework/status/updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ type UpdaterConfig struct {
// Gateway is removed, our Gateway will not restore the status until the EventLoop invokes the StatusUpdater as a
// result of processing some other new change to a resource(s).
// FIXME(pleshakov): Make updater production ready
// https://github.com/nginxinc/nginx-kubernetes-gateway/issues/691
// https://github.com/nginxinc/nginx-gateway-fabric/issues/691

// UpdaterImpl needs to be modified to support new resources. Consider making UpdaterImpl extendable, so that it
// goes along the Open-closed principle.
Expand Down Expand Up @@ -127,7 +127,7 @@ func NewUpdater(cfg UpdaterConfig) *UpdaterImpl {

func (upd *UpdaterImpl) Update(ctx context.Context, status Status) {
// FIXME(pleshakov) Merge the new Conditions in the status with the existing Conditions
// https://github.com/nginxinc/nginx-kubernetes-gateway/issues/558
// https://github.com/nginxinc/nginx-gateway-fabric/issues/558

defer upd.lock.Unlock()
upd.lock.Lock()
Expand Down