Cleanup related to context refactor (#9988)

Этот коммит содержится в:
Christopher Speller
2018-12-17 08:51:46 -08:00
коммит произвёл GitHub
родитель 829f183bb0
Коммит 8429add371
55 изменённых файлов: 1027 добавлений и 949 удалений

Просмотреть файл

@@ -36,6 +36,10 @@ func ConfigFile(file string) Option {
}
}
func RunJobs(s *Server) {
s.runjobs = true
}
func DisableConfigWatch(s *Server) {
s.disableConfigWatch = true
}
@@ -49,7 +53,6 @@ func ServerConnector(s *Server) AppOption {
a.Log = s.Log
a.HTTPService = s.HTTPService
a.AccountMigration = s.AccountMigration
a.Cluster = s.Cluster
a.Compliance = s.Compliance
@@ -59,5 +62,8 @@ func ServerConnector(s *Server) AppOption {
a.MessageExport = s.MessageExport
a.Metrics = s.Metrics
a.Saml = s.Saml
a.HTTPService = s.HTTPService
a.Timezones = s.timezones
}
}