Skip to content

Commit

Permalink
Fix marking activator endpoints populated into sks condition accurate…
Browse files Browse the repository at this point in the history
…ly (#15278)
  • Loading branch information
yenniechen committed May 30, 2024
1 parent 93c3c79 commit ba729e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/reconciler/serverlessservice/serverlessservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ func (r *reconciler) reconcilePublicEndpoints(ctx context.Context, sks *netv1alp
}
// If we have no backends or if we're in the proxy mode, then
// activator backs this revision.
if !foundServingEndpoints || sks.Spec.Mode == netv1alpha1.SKSOperationModeProxy {
if !foundServingEndpoints || mode == netv1alpha1.SKSOperationModeProxy {
sks.Status.MarkActivatorEndpointsPopulated()
} else {
sks.Status.MarkActivatorEndpointsRemoved()
Expand Down

0 comments on commit ba729e4

Please sign in to comment.