fix "This dynamic method is deprecated"
This commit is contained in:
parent
dc2e0114b0
commit
c3ea0cd259
|
@ -1,6 +1,6 @@
|
||||||
ARCHES = %w(i386 i586 x86_64)
|
ARCHES = %w(i386 i586 x86_64)
|
||||||
ARCHES.each do |arch|
|
ARCHES.each do |arch|
|
||||||
Arch.find_or_create_by_name arch
|
Arch.find_or_create_by(name: arch)
|
||||||
end
|
end
|
||||||
|
|
||||||
%w(rosa_system iso_worker_1 file_store).each do |uname|
|
%w(rosa_system iso_worker_1 file_store).each do |uname|
|
||||||
|
|
Loading…
Reference in New Issue