Skip to content

Commit

Permalink
Fix TODO again
Browse files Browse the repository at this point in the history
  • Loading branch information
shleikes committed Jan 15, 2025
1 parent a3d3fed commit d08339d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion protocol/statetracker/updaters/pairing_updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,12 @@ func (pu *PairingUpdater) addStaticProvidersToPairingList(pairingList map[uint64
for _, extension := range url.Addons {
extensions[extension] = struct{}{}
}

// TODO might be problematic adding both addons and extensions with same map.
endpoint := &lavasession.Endpoint{
NetworkAddress: url.Url,
Enabled: true,
Addons: extensions, // TODO: does not support addons, if required need to add the functionality to differentiate the two
Addons: extensions,
Extensions: extensions,
Connections: []*lavasession.EndpointConnection{},
}
Expand Down

0 comments on commit d08339d

Please sign in to comment.