aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compliance_control_set_copier.rb
diff options
context:
space:
mode:
authorTeddy Wing2017-10-30 17:42:40 +0100
committerTeddy Wing2017-10-30 17:48:58 +0100
commitf7d48398f5cb2ad714691bd630619b02c8958ac5 (patch)
tree2091fbe3afe406ab0139f909574075a3fcc1c91d /lib/compliance_control_set_copier.rb
parent17dcf8fe67972f6287fdac40a4477ef8b63ae1b9 (diff)
downloadchouette-core-f7d48398f5cb2ad714691bd630619b02c8958ac5.tar.bz2
ComplianceControlSetCopyWorker: Pass ComplianceCheckSet ID to Java
Previously I had been passing the `ComplianceControlSet` ID to the Java API. The API actually expects the ID of the `ComplianceCheckSet`. In order to get this ID, have the `ComplianceControlSetCopier` return the `ComplianceCheckSet` that it creates, and use that to pass the the ID to the Java API. Refs #4782
Diffstat (limited to 'lib/compliance_control_set_copier.rb')
-rw-r--r--lib/compliance_control_set_copier.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/compliance_control_set_copier.rb b/lib/compliance_control_set_copier.rb
index 20518ee0e..58d40cdbf 100644
--- a/lib/compliance_control_set_copier.rb
+++ b/lib/compliance_control_set_copier.rb
@@ -11,6 +11,8 @@ class ComplianceControlSetCopier
@referential_id = referential_id
check_organisation_coherence!
copy_set
+
+ cck_set
end