소스 검색

chore: adds comment out why the code was added

bergquist 9 년 전
부모
커밋
f29f83ca75
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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);
     }