From f29f83ca75a946d6c68d34649e90b9ce10556dd6 Mon Sep 17 00:00:00 2001 From: bergquist Date: Mon, 16 Jan 2017 15:04:53 +0100 Subject: [PATCH] chore: adds comment out why the code was added --- public/app/features/alerting/alert_def.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/public/app/features/alerting/alert_def.ts b/public/app/features/alerting/alert_def.ts index fdc0857620e..fab612b5558 100644 --- a/public/app/features/alerting/alert_def.ts +++ b/public/app/features/alerting/alert_def.ts @@ -122,6 +122,7 @@ function joinEvalMatches(matches, separator: string) { res.push(ev.metric + '=' + ev.value); } + // For backwards compatibility . Should be be able to remove this after ~2017-06-01 if (ev.Metric !== undefined && ev.Value !== undefined) { res.push(ev.Metric + '=' + ev.Value); }