feat: add middlewares config for rest (#2765)
* feat: add middlewares config for rest * chore: disable logs in tests * chore: enable verbose in tests
This commit is contained in:
@@ -18,10 +18,14 @@ func TestNewEngine(t *testing.T) {
|
||||
yamls := []string{
|
||||
`Name: foo
|
||||
Port: 54321
|
||||
Middlewares:
|
||||
Log: false
|
||||
`,
|
||||
`Name: foo
|
||||
Port: 54321
|
||||
CpuThreshold: 500
|
||||
Middlewares:
|
||||
Log: false
|
||||
`,
|
||||
`Name: foo
|
||||
Port: 54321
|
||||
|
||||
Reference in New Issue
Block a user