Skip to content

Commit

Permalink
OCPBUGS-32250: Prevent UniqueHost from stopping plugin chain
Browse files Browse the repository at this point in the history
Fix UniqueHost so that it doesn't completely stop the plugin chain if
the route is not "activated" because the the ResourceVersion on the
route didn't change. This is a problem for resyncs as the
ResourceVersion doesn't change, but the plugin change should continue.
  • Loading branch information
gcs278 committed Apr 15, 2024
1 parent 526f832 commit cb444e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/router/controller/unique_host.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ func (p *UniqueHost) HandleRoute(eventType watch.EventType, route *routev1.Route
}
continue
}
nestedErr = p.plugin.HandleRoute(eventType, other)
}
nestedErr = p.plugin.HandleRoute(eventType, route)

// This algorithm governs the logic for handling
// incoming routes and resolving conflicts when
Expand Down

0 comments on commit cb444e6

Please sign in to comment.