Skip to content

Commit

Permalink
Merge pull request #1283 from cwdsuzhou/April/VtepMac
Browse files Browse the repository at this point in the history
Bugfix: VtepMac would be empty when lease re-acquire for windows without kubeSubnetMgr
  • Loading branch information
rajatchopra authored Apr 24, 2020
2 parents c2e0b38 + 42c1cc9 commit 4856497
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/vxlan/vxlan_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,10 @@ func (be *VXLANBackend) RegisterNetwork(ctx context.Context, wg sync.WaitGroup,
}

lease, err = be.subnetMgr.AcquireLease(ctx, subnetAttrs)

if err != nil {
return nil, err
}
network.SubnetLease = lease
return network, nil
}

Expand Down

0 comments on commit 4856497

Please # to comment.