Commit 45ed571
authored
refactor: update
Inline headerFilterConfig to reduce function return params and reduce
complexity. Remove some test functions in favour of `assert` as it's
already implementing same functionality.
Use `any` instead of `interface{}` when possible just for less linters
suggesstions.
Follow up on #3778
Signed-off-by: Mustafa Abdelrahman <mustafa.abdelrahman@zalando.de>CreateFilter function for header filters (#3779)1 parent f8d418a commit 45ed571
4 files changed
Lines changed: 132 additions & 166 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
543 | 544 | | |
544 | 545 | | |
545 | 546 | | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | | - | |
| 547 | + | |
553 | 548 | | |
554 | 549 | | |
555 | 550 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
0 commit comments