Parcourir la source

chore: adds comment out why the code was added

bergquist il y a 9 ans
Parent
commit
f29f83ca75
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      public/app/features/alerting/alert_def.ts

+ 1 - 0
public/app/features/alerting/alert_def.ts

@@ -122,6 +122,7 @@ function joinEvalMatches(matches, separator: string) {
       res.push(ev.metric + '=' + ev.value);
       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) {
     if (ev.Metric !== undefined && ev.Value !== undefined) {
       res.push(ev.Metric + '=' + ev.Value);
       res.push(ev.Metric + '=' + ev.Value);
     }
     }