diff options
Diffstat (limited to 'core/setup/loadbalance.go')
-rw-r--r-- | core/setup/loadbalance.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/setup/loadbalance.go b/core/setup/loadbalance.go index 93b919e5f..4b132489b 100644 --- a/core/setup/loadbalance.go +++ b/core/setup/loadbalance.go @@ -5,15 +5,12 @@ import ( "github.com/miekg/coredns/middleware/loadbalance" ) -// Root sets up the root file path of the server. +// Loadbalance sets up the root file path of the server. func Loadbalance(c *Controller) (middleware.Middleware, error) { for c.Next() { - // and choosing the correct balancer // TODO(miek): block and option parsing } return func(next middleware.Handler) middleware.Handler { return loadbalance.RoundRobin{Next: next} }, nil - - return nil, nil } |