lib/right_chimp/daemon/ChimpDaemonClient.rb in right_chimp-2.1.14 vs lib/right_chimp/daemon/ChimpDaemonClient.rb in right_chimp-2.1.15
- old
+ new
@@ -17,9 +17,10 @@
response = RestClient.post uri, chimp_object.to_yaml
if response.code > 199 and response.code < 300
Log.debug "Response code was #{response.code}"
+
id = YAML::load(response.body)['id']
#ID changes upon execution, not upon submission.
job_uuid = YAML::load(response.body)['job_uuid']
puts "["+job_uuid+"]"
return true