diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb index 8c90232405e..41446946a5e 100644 --- a/app/models/ci/build.rb +++ b/app/models/ci/build.rb @@ -385,7 +385,7 @@ module Ci end def erase_old_trace! - update_column(:trace, nil) if old_trace + update_column(:trace, nil) end def needs_touch?