Skip to content

Commit

Permalink
Update vxlan.go
Browse files Browse the repository at this point in the history
  • Loading branch information
lou-lan authored Oct 30, 2023
1 parent e090e9c commit b25ba6f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/agent/vxlan.go
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,9 @@ func (r *vxlanReconciler) keepReplayRoute() {
}

func (r *vxlanReconciler) Start(ctx context.Context) error {
if !r.cfg.FileConfig.GatewayFailover.Enable {
return nil
}
return r.syncLastHeartbeatTime(ctx)
}

Expand Down

0 comments on commit b25ba6f

Please sign in to comment.