fix(pkger): add telegraf to launcher for public api support

pull/16151/head
Johnny Steenbergen 2019-12-06 09:01:33 -08:00 committed by Johnny Steenbergen
parent ea67663ab7
commit ed974ba50a
1 changed files with 1 additions and 0 deletions

View File

@ -840,6 +840,7 @@ func (m *Launcher) run(ctx context.Context) (err error) {
pkger.WithBucketSVC(authorizer.NewBucketService(b.BucketService)),
pkger.WithDashboardSVC(authorizer.NewDashboardService(b.DashboardService)),
pkger.WithLabelSVC(authorizer.NewLabelService(b.LabelService)),
pkger.WithTelegrafSVC(authorizer.NewTelegrafConfigService(b.TelegrafService, b.UserResourceMappingService)),
pkger.WithVariableSVC(authorizer.NewVariableService(b.VariableService)),
)
}