Skip to content

Commit

Permalink
fix(evpn): fix ci docker failure
Browse files Browse the repository at this point in the history
Signed-off-by: atulpatel261194 <[email protected]>
  • Loading branch information
atulpatel261194 committed Nov 11, 2024
1 parent 3174273 commit e6b6b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/frr/frr.go
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ func setUpVrf(vrf *infradb.Vrf) (string, bool) {
if path.Base(vrf.Name) == "GRD" {
return "", true
}
if *vrf.Spec.Vni != 0 {
if vrf.Spec.Vni != nil {
// Configure the vrf in FRR and set up BGP EVPN for it
vrfName := fmt.Sprintf("vrf %s", path.Base(vrf.Name))
vniID := fmt.Sprintf("vni %s", strconv.Itoa(int(*vrf.Spec.Vni)))
Expand Down

0 comments on commit e6b6b4a

Please sign in to comment.