Skip to content

Commit

Permalink
reenable ordering
Browse files Browse the repository at this point in the history
Signed-off-by: Alec Holmes <[email protected]>
  • Loading branch information
alecholmez committed Mar 28, 2022
1 parent 97ce4aa commit 48e174b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pkg/test/main/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import (

"github.com/envoyproxy/go-control-plane/pkg/cache/v3"
conf "github.com/envoyproxy/go-control-plane/pkg/server/config"
"github.com/envoyproxy/go-control-plane/pkg/server/sotw/v3"
"github.com/envoyproxy/go-control-plane/pkg/server/v3"
"github.com/envoyproxy/go-control-plane/pkg/test"
"github.com/envoyproxy/go-control-plane/pkg/test/resource/v3"
Expand Down Expand Up @@ -198,11 +199,11 @@ func main() {
}

opts := []conf.XDSOption{}
// if mode == resource.Ads {
// log.Println("enabling ordered ADS mode...")
// // Enable resource ordering if we enter ADS mode.
// opts = append(opts, sotw.WithOrderedADS())
// }
if mode == resource.Ads {
log.Println("enabling ordered ADS mode...")
// Enable resource ordering if we enter ADS mode.
opts = append(opts, sotw.WithOrderedADS())
}
srv := server.NewServer(context.Background(), configCache, cb, opts...)
als := &testv3.AccessLogService{}

Expand Down

0 comments on commit 48e174b

Please sign in to comment.