aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-06-18 15:51:19 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-06-18 15:52:40 +0200
commitb2aa8d6fe62481fc68a710cb2e767d174474752f (patch)
tree0c66425bd1b1ef902f9746f1a83eea125a015062 /server
parentd5e2bae5b2e8a44f706a1444c82120199d42e733 (diff)
downloadsonarqube-b2aa8d6fe62481fc68a710cb2e767d174474752f.tar.gz
sonarqube-b2aa8d6fe62481fc68a710cb2e767d174474752f.zip
Metric.deleteHistoricalData is badly persisted during server startup
Diffstat (limited to 'server')
-rw-r--r--server/sonar-server/src/main/java/org/sonar/server/startup/RegisterMetrics.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/startup/RegisterMetrics.java b/server/sonar-server/src/main/java/org/sonar/server/startup/RegisterMetrics.java
index 1000c1078e6..da4158ff585 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/startup/RegisterMetrics.java
+++ b/server/sonar-server/src/main/java/org/sonar/server/startup/RegisterMetrics.java
@@ -155,6 +155,7 @@ public class RegisterMetrics {
dto.setOptimizedBestValue(metric.isOptimizedBestValue());
dto.setUserManaged(metric.getUserManaged());
dto.setWorstValue(metric.getWorstValue());
+ dto.setDeleteHistoricalData(metric.getDeleteHistoricalData());
return dto;
}
}