Skip to content

Commit

Permalink
Rename cfg to bidderInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
onkarvhanumante committed Sep 6, 2023
1 parent 9eea8d0 commit d96281a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions usersync/syncersbuilder.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ func (e SyncerBuildError) Error() string {
func BuildSyncers(hostConfig *config.Configuration, bidderInfos config.BidderInfos) (map[string]Syncer, []error) {
// map syncer config by bidder
cfgByBidder := make(map[string]config.Syncer, len(bidderInfos))
for bidder, cfg := range bidderInfos {
if shouldCreateSyncer(cfg) {
cfgByBidder[bidder] = *cfg.Syncer
for bidder, bidderInfo := range bidderInfos {
if shouldCreateSyncer(bidderInfo) {
cfgByBidder[bidder] = *bidderInfo.Syncer
}
}

Expand Down

0 comments on commit d96281a

Please sign in to comment.