Skip to content

Commit

Permalink
fix(meshtimeout): do not apply default timeouts if there is no policy
Browse files Browse the repository at this point in the history
Signed-off-by: Lukasz Dziedziak <[email protected]>
  • Loading branch information
lukidzi committed Nov 14, 2024
1 parent 2e44ed0 commit 3988a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/plugins/policies/meshtimeout/plugin/v1alpha1/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func applyToInbounds(fromRules core_rules.FromRules, inboundListeners map[core_r
protocol := core_mesh.ParseProtocol(inbound.GetProtocol())
conf := getConf(fromRules.Rules[listenerKey], core_rules.MeshSubset())
if conf == nil {
conf = &plugin_xds.DefaultTimeoutConf
continue
}
configurer := plugin_xds.ListenerConfigurer{
Conf: *conf,
Expand Down

0 comments on commit 3988a08

Please sign in to comment.