Improve error on router without service.
Co-authored-by: Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
This commit is contained in:
parent
c39a550b00
commit
1800b0b69c
13 changed files with 125 additions and 40 deletions
|
@ -85,6 +85,7 @@ func TestHandler_Overview(t *testing.T) {
|
|||
Users: []string{"admin:admin"},
|
||||
},
|
||||
},
|
||||
Status: runtime.StatusEnabled,
|
||||
},
|
||||
"addPrefixTest@myprovider": {
|
||||
Middleware: &dynamic.Middleware{
|
||||
|
@ -99,7 +100,8 @@ func TestHandler_Overview(t *testing.T) {
|
|||
Prefix: "/toto",
|
||||
},
|
||||
},
|
||||
Err: []string{"error"},
|
||||
Err: []string{"error"},
|
||||
Status: runtime.StatusDisabled,
|
||||
},
|
||||
},
|
||||
Routers: map[string]*runtime.RouterInfo{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue