1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-21 13:57:56 +03:00

L #-: Conform B #6171 with Rubocop (#2609)

This commit is contained in:
brodriguez-opennebula 2023-05-17 14:06:59 +02:00 committed by GitHub
parent d1c5d0c738
commit 139bfd7f0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,8 +49,8 @@ class LinuxContainersMarket
:fs => 'ext4',
:format => 'raw',
:agent => 'OpenNebula',
:tested_apps => %w[alpine alt centos rockylinux almalinux oracle debian
ubuntu fedora devuan opensuse amazonlinux],
:tested_apps => %w['alpine' 'alt' 'centos' 'rockylinux' 'almalinux' 'oracle' 'debian'
'ubuntu' 'fedora' 'devuan' 'opensuse' 'amazonlinux'],
:skip_untested => 'yes',
:memory => '768',
:cpu => 1,
@ -151,7 +151,7 @@ class LinuxContainersMarket
}
tmpl = ''
data.each { |key, val| print_var(tmpl, key, val) }
data.each {|key, val| print_var(tmpl, key, val) }
tmpl64 = ''
print_var(tmpl64, 'DRIVER', 'raw')
@ -167,7 +167,6 @@ class LinuxContainersMarket
end
appstr
ensure
@http_client&.finish if @http_client
end
@ -254,7 +253,7 @@ begin
:privileged => "#{pre}/PRIVILEGED"
}
data.each { |key, value| set_option(options, doc, key, value) }
data.each {|key, value| set_option(options, doc, key, value) }
str = LinuxContainersMarket.new(options).fetch_appliances
puts str