Skip to content

Commit

Permalink
fix mq setup
Browse files Browse the repository at this point in the history
Signed-off-by: l1b0k <[email protected]>
  • Loading branch information
l1b0k committed Nov 26, 2024
1 parent 9e02f35 commit 0b2fc14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/datapath/policy_router_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ func (d *PolicyRoute) Setup(ctx context.Context, cfg *types.SetupConfig, netNS n
return err
}

if cfg.BandwidthMode != types.BandwidthModeEDT && cfg.Egress > 0 {
if cfg.BandwidthMode == types.BandwidthModeEDT && cfg.Egress > 0 {
err = ensureMQ(ctx, eni)
if err != nil {
return err
Expand Down

0 comments on commit 0b2fc14

Please sign in to comment.