Skip to content

Commit

Permalink
Add registration time for refresh
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Glazychev <artem.glazychev@xored.com>
  • Loading branch information
glazychev-art committed Dec 1, 2021
1 parent e33b665 commit 072cb6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/registry/common/refresh/nse_registry_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ func (c *refreshNSEClient) Register(ctx context.Context, nse *registry.NetworkSe
if reg.ExpirationTime != nil {
refreshNSE := nse.Clone()
refreshNSE.ExpirationTime = reg.ExpirationTime
refreshNSE.InitialRegistrationTime = reg.InitialRegistrationTime

cancel, err = c.startRefresh(ctx, refreshNSE, expirationDuration)
if err != nil {
Expand Down

0 comments on commit 072cb6a

Please sign in to comment.