Skip to content

Commit

Permalink
fix: node route should filter out 'vpc'
Browse files Browse the repository at this point in the history
  • Loading branch information
fanriming committed Jun 24, 2021
1 parent f7cdfd2 commit 4359c19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/daemon/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ func (c *Controller) reconcileRouters(event subnetEvent) error {

cidrs := make([]string, 0, len(subnets)*2)
for _, subnet := range subnets {
if !subnet.Status.IsReady() || subnet.Spec.UnderlayGateway {
if subnet.Spec.Vpc != util.DefaultVpc || !subnet.Status.IsReady() || subnet.Spec.UnderlayGateway {
continue
}

Expand Down

0 comments on commit 4359c19

Please sign in to comment.