Skip to content

Commit

Permalink
Bugfix: VtepMac would be empty when lease re-acquire for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
cwdsuzhou committed Apr 17, 2020
1 parent 4ff77dc commit 42c1cc9
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 42c1cc9

Please sign in to comment.