OpenTSDB: Add back missing ngInject (#21796)

Adds back missing ngInject on datasource constructor
to make it work again.

Fixes #21770
This commit is contained in:
Marcus Efraimsson 2020-01-28 16:17:27 +01:00 committed by GitHub
parent ae3d25986d
commit b75412d6ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,7 @@ export default class OpenTsDatasource extends DataSourceApi<OpenTsdbQuery, OpenT
aggregatorsPromise: any;
filterTypesPromise: any;
/** @ngInject */
constructor(instanceSettings: any, private templateSrv: TemplateSrv) {
super(instanceSettings);
this.type = 'opentsdb';