Skip to content

Commit

Permalink
Enforce template seed order
Browse files Browse the repository at this point in the history
  • Loading branch information
adamruzicka authored and stejskalleos committed Oct 7, 2024
1 parent e19562d commit 0b6747b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/seeds.d/10_leapp_preupgrade.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
end
JobTemplate.without_auditing do
Dir[File.join("#{ForemanLeapp::Engine.root}/app/views/foreman_leapp/"\
'job_templates/**/*.erb')].each do |template|
'job_templates/**/*.erb')].sort.each do |template|
template = JobTemplate.import_raw!(File.read(template),
:default => true,
:lock => true,
Expand Down

0 comments on commit 0b6747b

Please sign in to comment.