chore(config): remove deprecated controllers field (#5125)
* chore(config): remove deprecated controllers field
This commit is contained in:
1 parent
79bf12bd23
commit
35679c6a5b
8 files changed
+9
-66
No files matched your search
@@ -340,9 +340,6 @@ func (c *Command) Run(args []string) int {
|
||||
c.UI.Error(`Config activates worker but no listener with "proxy" purpose found`)
|
||||
return base.CommandUserError
|
||||
}
|
||||
if c.Config.Worker.ControllersRaw != nil {
|
||||
c.UI.Warn("The \"controllers\" field for worker config is deprecated. Please use \"initial_upstreams\" instead.")
|
||||
}
|
||||
|
||||
if err := c.SetupWorkerPublicAddress(c.Config, ""); err != nil {
|
||||
c.UI.Error(err.Error())
|
||||
|
||||
Reference in new issue
Block a user