feat(cmd/launcher): add check to launcher
parent
5d826961db
commit
87730440ee
|
@ -456,6 +456,7 @@ func (m *Launcher) run(ctx context.Context) (err error) {
|
||||||
secretSvc platform.SecretService = m.kvService
|
secretSvc platform.SecretService = m.kvService
|
||||||
lookupSvc platform.LookupService = m.kvService
|
lookupSvc platform.LookupService = m.kvService
|
||||||
notificationRuleSvc platform.NotificationRuleStore = m.kvService
|
notificationRuleSvc platform.NotificationRuleStore = m.kvService
|
||||||
|
checkSvc platform.CheckService = m.kvService
|
||||||
)
|
)
|
||||||
|
|
||||||
switch m.secretStore {
|
switch m.secretStore {
|
||||||
|
@ -627,6 +628,7 @@ func (m *Launcher) run(ctx context.Context) (err error) {
|
||||||
TaskService: taskSvc,
|
TaskService: taskSvc,
|
||||||
TelegrafService: telegrafSvc,
|
TelegrafService: telegrafSvc,
|
||||||
NotificationRuleStore: notificationRuleSvc,
|
NotificationRuleStore: notificationRuleSvc,
|
||||||
|
CheckService: checkSvc,
|
||||||
ScraperTargetStoreService: scraperTargetSvc,
|
ScraperTargetStoreService: scraperTargetSvc,
|
||||||
ChronografService: chronografSvc,
|
ChronografService: chronografSvc,
|
||||||
SecretService: secretSvc,
|
SecretService: secretSvc,
|
||||||
|
|
Loading…
Reference in New Issue