Skip to content

Commit ea09f5b

Browse files
Fix gatewayclass conformance test gap (#213)
1 parent 7909659 commit ea09f5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

controllers/gatewayclass_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ func (r *GatewayClassReconciler) Reconcile(ctx context.Context, req ctrl.Request
8383
gwClassOld := gwClass.DeepCopy()
8484

8585
gwClass.Status.Conditions[0].LastTransitionTime = metav1.NewTime(time.Now())
86+
gwClass.Status.Conditions[0].ObservedGeneration = gwClass.Generation
8687

8788
gwClass.Status.Conditions[0].Status = "True"
8889
gwClass.Status.Conditions[0].Message = string(gateway_api.GatewayClassReasonAccepted)

0 commit comments

Comments
 (0)