Ignore NoLog option in config reload

This commit is contained in:
Tyler Treat
2017-06-19 14:17:58 -05:00
parent 50e9d0fa87
commit c97a4f6e45

View File

@@ -318,6 +318,10 @@ func (s *Server) diffOptions(newOpts *Options) ([]option, error) {
case "routes":
add, remove := diffRoutes(oldValue.([]*url.URL), newValue.([]*url.URL))
diffOpts = append(diffOpts, &routesOption{add: add, remove: remove})
case "nolog":
// Ignore NoLog option since it's not parsed and only used in
// testing.
continue
case "port":
// check to see if newValue == 0 and continue if so.
if newValue == 0 {