Commit 2bc80394 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Use data bytesize checking in live trace fog adapter

parent 1645f0fd
......@@ -28,10 +28,7 @@ module Ci
end
def size(model)
connection.head_object(bucket_name, key(model))
.get_header('Content-Length')
rescue Excon::Error::NotFound
0
data(model).to_s.bytesize
end
def delete_data(model)
......
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