Commit e85ce8ba authored by Spiros Koulouzis's avatar Spiros Koulouzis

fixed parse error

parent 88da5cb8
...@@ -284,8 +284,6 @@ public class DeployService { ...@@ -284,8 +284,6 @@ public class DeployService {
ansOut = ansibleOutputService.save(ansOut); ansOut = ansibleOutputService.save(ansOut);
BenchmarkResult benchmarkResult = parseSaveBenchmarkResult(ansOut); BenchmarkResult benchmarkResult = parseSaveBenchmarkResult(ansOut);
outputListIds.add(ansOut.getId()); outputListIds.add(ansOut.getId());
} }
deployResponse.setAnsibleOutputList(outputListIds); deployResponse.setAnsibleOutputList(outputListIds);
...@@ -390,7 +388,7 @@ public class DeployService { ...@@ -390,7 +388,7 @@ public class DeployService {
} }
private double getApprox95Percentile(String string) { private double getApprox95Percentile(String string) {
return Double.valueOf(string.replaceAll("approx. 95 percentile::", "").replaceAll("ms", "").trim()); return Double.valueOf(string.replaceAll("approx. 95 percentile:", "").replaceAll("ms", "").trim());
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment