Skip to content

Commit

Permalink
enable adapter alias feature (prebid#3179)
Browse files Browse the repository at this point in the history
  • Loading branch information
gargcreation1992 authored Oct 5, 2023
1 parent 324a973 commit 8cdfe48
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
4 changes: 0 additions & 4 deletions exchange/adapter_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ func buildBidders(infos config.BidderInfos, builders map[openrtb_ext.BidderName]
var errs []error

for bidder, info := range infos {
if len(info.AliasOf) > 0 {
errs = append(errs, fmt.Errorf("This feature is currently under development"))
continue
}
bidderName, bidderNameFound := openrtb_ext.NormalizeBidderName(bidder)
if !bidderNameFound {
errs = append(errs, fmt.Errorf("%v: unknown bidder", bidder))
Expand Down
7 changes: 0 additions & 7 deletions exchange/adapter_util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,6 @@ func TestBuildAdapters(t *testing.T) {
errors.New("unknown: unknown bidder"),
},
},
{
description: "Alias feature disabled",
bidderInfos: map[string]config.BidderInfo{"appNexus": {AliasOf: "rubicon"}},
expectedErrors: []error{
errors.New("This feature is currently under development"),
},
},
}

cfg := &config.Configuration{}
Expand Down

0 comments on commit 8cdfe48

Please sign in to comment.