Skip to content

Commit fd215eb

Browse files
committed
Handle PDSCascadingSearchJobs with symbols
In the previous commit this job was converted to use string arguments. This adds a fallback to ensure that if any existing jobs with symbols are executed correctly. Jira-Issue: MAV-7288
1 parent c371fd4 commit fd215eb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

app/jobs/pds_cascading_search_job.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ def perform(
1212
search_results: [],
1313
queue: "pds"
1414
)
15+
# FIXME: Remove these once we're not queuing jobs using symbols.
16+
step_name = step_name.to_s
17+
queue = queue.to_s
18+
1519
SemanticLogger.tagged(
1620
searchable: "#{searchable.class.name}##{searchable.id}",
1721
step: step_name

0 commit comments

Comments
 (0)