lib/cpee/instantiation.rb in cpee-1.5.23 vs lib/cpee/instantiation.rb in cpee-1.5.24
- old
+ new
@@ -302,10 +302,10 @@
notification = JSON.parse(@p[3].value)
key = @r.last
cb, condition, instance, uuid, instance_url = cblist.lrange(key,0,-1)
- cpee = cb.gsub(/\d+\/callbacks.*/,'')
+ cpee = File.dirname(instance_url)
orisend = {
'CPEE-INSTANCE' => instance,
'CPEE-INSTANCE-URL' => instance_url,
'CPEE-INSTANCE-UUID' => uuid,