Skip to content

Commit

Permalink
fix: fix the failing rabbitmq issue
Browse files Browse the repository at this point in the history
Signed-off-by: Leo Li <[email protected]>
  • Loading branch information
Leo6Leo committed Jun 17, 2024
1 parent 5333a8a commit 602427d
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions pkg/apis/eventing/v1/broker_defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,14 @@ func (bs *BrokerSpec) SetDefaults(ctx context.Context, brokerClass string) {
BackoffDelay: c.Delivery.BackoffDelay,
}
}
// Default the namespace if not given
if bs.Config != nil {
bs.Config.SetDefaults(ctx)
}
bs.Delivery.SetDefaults(ctx)

}

// Default the namespace if not given
if bs.Config != nil {
bs.Config.SetDefaults(ctx)
}

bs.Delivery.SetDefaults(ctx)

}

0 comments on commit 602427d

Please sign in to comment.