chore(config): remove deprecated controllers field (#5125)

* chore(config): remove deprecated controllers field
This commit is contained in:
Irena Rindos authored and GitHub committed 2024-09-23 11:45:34 -04:00
1 parent 79bf12bd23
commit 35679c6a5b
8 files changed
+9 -66

No files matched your search

-3
View File
@@ -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())