Skip to content

Commit

Permalink
fix debug staff
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Tingaikin <[email protected]>
  • Loading branch information
denis-tingaikin committed Jan 15, 2024
1 parent b55eb3c commit 3b20292
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/networkservice/chains/nsmgrproxy/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ func NewServer(ctx context.Context, regURL *url.URL, tokenGenerator token.Genera
switchcase.NewServer(&switchcase.ServerCase{
Condition: func(ctx context.Context, c *networkservice.Connection) bool {
var u = clienturlctx.ClientURL(ctx)
return u != nil && u.Scheme != "tcp" && c.GetPath().GetIndex() < 4
return u != nil && u.Scheme != "tcp"
},
Server: interdomainbypass.NewServer(),
}),
Expand Down
2 changes: 1 addition & 1 deletion pkg/networkservice/chains/nsmgrproxy/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ func Test_Interdomain_PassThroughUsecase(t *testing.T) {
ctx, cancel := context.WithTimeout(context.Background(), time.Second*15)
defer cancel()

const clusterCount = 1
const clusterCount = 4

var builder = sandbox.NewInterdomainBuilder(ctx, t)

Expand Down

0 comments on commit 3b20292

Please sign in to comment.