Skip to content
Snippets Groups Projects
Commit 17924509 authored by Jasper Maes's avatar Jasper Maes
Browse files

Explicit hashed path check for trace, prevents background migration from...

Explicit hashed path check for trace, prevents background migration from accessing file_location column that doesn't exist
parent f6097cbf
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
Loading
Loading
@@ -87,7 +87,9 @@ module Ci
end
 
def hashed_path?
super || self.try(:file_location).nil?
return true if trace? # ArchiveLegacyTraces background migration might not have `file_location` column
super || self.file_location.nil?
end
 
def expire_in
Loading
Loading
---
title: Explicit hashed path check for trace, prevents background migration from accessing
file_location column that doesn't exist
merge_request: 21533
author: Jasper Maes
type: other
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment