Ver Fonte

chore: adds comment out why the code was added

bergquist há 9 anos atrás
pai
commit
f29f83ca75
1 ficheiros alterados com 1 adições e 0 exclusões
  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);
     }
 
+    // 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);
     }