Commit 129cba22 authored by Spiros Koulouzis's avatar Spiros Koulouzis

first set then save !

parent e0caae6f
......@@ -336,7 +336,6 @@ public class DeployService {
b.setAvgExecutionTimePerRequest(avgExecutionTimePerRequest);
b.setMaxExecutionTimePerRequest(maxExecutionTimePerRequest);
b = (SysbenchCPUBenchmark) benchmarkResultService.save(b);
b.setAnsibleOutputID(ansOut.getId());
b.setCloudDeploymentDomain(ansOut.getCloudDeploymentDomain());
......@@ -344,6 +343,7 @@ public class DeployService {
b.setStart(ansOut.getAnsibleResult().getStart());
b.setEnd(ansOut.getAnsibleResult().getEnd());
b.setHost(ansOut.getHost());
b = (SysbenchCPUBenchmark) benchmarkResultService.save(b);
return b;
default:
......
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