Prometheus: Remove unused editorSrc (#65829)

Remove unused editorSrc
This commit is contained in:
ismail simsek 2023-04-03 14:43:02 +02:00 committed by GitHub
parent 663ed7ba82
commit 97e3ed930a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,6 @@ export class PrometheusDatasource
implements DataSourceWithQueryImportSupport<PromQuery>, DataSourceWithQueryExportSupport<PromQuery>
{
type: string;
editorSrc: string;
ruleMappings: { [index: string]: string };
url: string;
id: number;
@ -111,7 +110,6 @@ export class PrometheusDatasource
this.type = 'prometheus';
this.subType = PromApplication.Prometheus;
this.rulerEnabled = false;
this.editorSrc = 'app/features/prometheus/partials/query.editor.html';
this.id = instanceSettings.id;
this.url = instanceSettings.url!;
this.access = instanceSettings.access;