Add plugin's support for provider
Co-authored-by: Julien Salleyron <julien@traefik.io>
This commit is contained in:
parent
de2437cfec
commit
63ef0f1cee
24 changed files with 928 additions and 116 deletions
|
@ -81,7 +81,10 @@ func checkDevPluginConfiguration(plugin *DevPlugin) error {
|
|||
return err
|
||||
}
|
||||
|
||||
if m.Type != "middleware" {
|
||||
switch m.Type {
|
||||
case "middleware", "provider":
|
||||
// noop
|
||||
default:
|
||||
return errors.New("unsupported type")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue