Skip to content

Commit

Permalink
Merge pull request #10 from krakend/fix_has_sequential
Browse files Browse the repository at this point in the history
fix bad has sequential reporting
  • Loading branch information
kpacha authored Feb 28, 2024
2 parents 18b9a94 + 668b29c commit 8fb5193
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion parser_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ func ExampleParse() {
// output:
// details: [3124]
// agents: []
// endpoints: [{[2 0 0 140000 0 0] [{[64] map[]}] map[github.com/devopsfaith/krakend-jose/validator:[]]} {[2 1 1 10000 7 0] [{[64] map[backend/http/client:[3]]}] map[]} {[2 0 0 10000 8 2] [{[64] map[]} {[64] map[]} {[64] map[]}] map[proxy:[]]}]
// endpoints: [{[2 0 0 140000 0 0] [{[64] map[]}] map[github.com/devopsfaith/krakend-jose/validator:[]]} {[2 1 1 10000 7 0] [{[64] map[backend/http/client:[3]]}] map[]} {[2 0 0 10000 8 2] [{[64] map[]} {[64] map[]} {[64] map[]}] map[github.com/devopsfaith/krakend/proxy:[1]]}]
// components: map[auth/api-keys:[] github_com/devopsfaith/krakend/transport/http/server/handler:[4] github_com/luraproject/lura/router/gin:[262144]]
}
2 changes: 1 addition & 1 deletion rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func hasSequentialProxy(s *Service) bool {
return true
}
}
return true
return false
}

func hasQueryStringWildcard(s *Service) bool {
Expand Down
2 changes: 1 addition & 1 deletion tests/example1.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"endpoint": "/__catchall",
"timeout": "10s",
"extra_config": {
"proxy": {
"github.com/devopsfaith/krakend/proxy": {
"sequential": true
}
},
Expand Down

0 comments on commit 8fb5193

Please sign in to comment.