Skip to content

Commit

Permalink
updating the variable name in fqdn
Browse files Browse the repository at this point in the history
Signed-off-by: Vipul Singh <singhvipul@microsoft.com>
  • Loading branch information
vipul-21 authored and julianwiedmann committed May 14, 2024
1 parent ee8d570 commit cc1759e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions daemon/cmd/fqdn.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ func (d *Daemon) bootstrapFQDN(possibleEndpoints map[uint16]*endpoint.Endpoint,
// locally running endpoints.
cfg.Cache.DisableCleanupTrack()

rg := fqdn.NewNameManager(cfg)
d.policy.GetSelectorCache().SetLocalIdentityNotifier(rg)
d.dnsNameManager = rg
nameManager := fqdn.NewNameManager(cfg)
d.policy.GetSelectorCache().SetLocalIdentityNotifier(nameManager)
d.dnsNameManager = nameManager

// Controller to cleanup TTL expired entries from the DNS policies.
d.dnsNameManager.StartGC(d.ctx)
Expand Down

0 comments on commit cc1759e

Please sign in to comment.