From f03da8bb3a39c3d7832847eae45e39c5102df196 Mon Sep 17 00:00:00 2001 From: Mitsuhiro Tanda Date: Thu, 15 Mar 2018 15:10:38 +0900 Subject: [PATCH] minor fix --- public/app/plugins/datasource/prometheus/completer.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/app/plugins/datasource/prometheus/completer.ts b/public/app/plugins/datasource/prometheus/completer.ts index c365ce020b2..32d12e47ac1 100644 --- a/public/app/plugins/datasource/prometheus/completer.ts +++ b/public/app/plugins/datasource/prometheus/completer.ts @@ -13,12 +13,12 @@ export class PromCompleter { this.labelQueryCache = {}; this.labelNameCache = {}; this.labelValueCache = {}; - this.templateVariableCompletions = this.templateSrv.variables.map(function (variable) { + this.templateVariableCompletions = this.templateSrv.variables.map(variable => { return { caption: '$' + variable.name, value: '$' + variable.name, - meta: "variable.other", - score: Number.MAX_VALUE + meta: 'variable.other', + score: Number.MAX_VALUE, }; }); }