hub: get out of experimental.
Co-authored-by: Romain <rtribotte@users.noreply.github.com>
This commit is contained in:
parent
3b9e155807
commit
358f47443e
7 changed files with 10 additions and 23 deletions
|
@ -8,9 +8,8 @@ import (
|
|||
)
|
||||
|
||||
func (c *Configuration) initHubProvider() error {
|
||||
// Hub provider is an experimental feature. It requires the experimental flag to be enabled before continuing.
|
||||
if c.Experimental == nil || !c.Experimental.Hub {
|
||||
return errors.New("the experimental flag for Hub is not set")
|
||||
if c.Experimental != nil && c.Experimental.Hub {
|
||||
log.WithoutContext().Warn("Experimental flag for Traefik Hub is deprecated, because Traefik Hub is now GA.")
|
||||
}
|
||||
|
||||
if _, ok := c.EntryPoints[hub.TunnelEntrypoint]; !ok {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue