Commit b5a23197 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Explicitly set to nil when artifacts don't exist:

Feedback from:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4964#note_12867273
parent 596f4688
......@@ -384,6 +384,8 @@ module Ci
def update_artifacts_size
self.artifacts_size = if artifacts_file.exists?
artifacts_file.size
else
nil
end
end
......
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