瀏覽代碼

minor change to cloudwatch code formatting

Torkel Ödegaard 7 年之前
父節點
當前提交
4aa7dc0c85
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      public/app/plugins/datasource/cloudwatch/datasource.ts

+ 1 - 1
public/app/plugins/datasource/cloudwatch/datasource.ts

@@ -46,12 +46,12 @@ export default class CloudWatchDatasource {
       const hasInvalidStatistics = item.statistics.some(s => {
         if (s.indexOf('p') === 0) {
           const matches = /^p\d{2}(?:\.\d{1,2})?$/.exec(s);
-
           return !matches || matches[0] !== s;
         }
 
         return false;
       });
+
       if (hasInvalidStatistics) {
         throw { message: 'Invalid extended statistics' };
       }