Browse Source

fix: fixed tslint issue introduced in recent prometheus PR merge

Torkel Ödegaard 7 years ago
parent
commit
bae560717d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/app/plugins/datasource/prometheus/datasource.ts

+ 1 - 1
public/app/plugins/datasource/prometheus/datasource.ts

@@ -579,7 +579,7 @@ export class PrometheusDatasource {
   }
 
   getTimeRange(): { start: number; end: number } {
-    let range = this.timeSrv.timeRange();
+    const range = this.timeSrv.timeRange();
     return {
       start: this.getPrometheusTime(range.from, false),
       end: this.getPrometheusTime(range.to, true),