feat(cmd/launcher): add check to launcher

pull/14521/head
Kelvin Wang 2019-07-31 16:02:08 -04:00
parent 5d826961db
commit 87730440ee
1 changed files with 2 additions and 0 deletions

View File

@ -456,6 +456,7 @@ func (m *Launcher) run(ctx context.Context) (err error) {
secretSvc platform.SecretService = m.kvService
lookupSvc platform.LookupService = m.kvService
notificationRuleSvc platform.NotificationRuleStore = m.kvService
checkSvc platform.CheckService = m.kvService
)
switch m.secretStore {
@ -627,6 +628,7 @@ func (m *Launcher) run(ctx context.Context) (err error) {
TaskService: taskSvc,
TelegrafService: telegrafSvc,
NotificationRuleStore: notificationRuleSvc,
CheckService: checkSvc,
ScraperTargetStoreService: scraperTargetSvc,
ChronografService: chronografSvc,
SecretService: secretSvc,