1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

M #-: Typos in one/monitor (#651)

This commit is contained in:
Vlastimil Holer 2021-01-15 14:36:18 +01:00 committed by GitHub
parent f51765ec02
commit 59c78b4e78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,7 +118,7 @@ class OneMarket
dname = disk.keys.first
tmpl << <<-EOT.strip
DISK = [ NAME = "#{dname}", APP="#{disk[dname]}]
DISK = [ NAME = "#{dname}", APP="#{disk[dname]}" ]
EOT
end
end
@ -140,11 +140,11 @@ class OneMarket
print_var(tmpl, 'MD5', app['md5'])
if app['roles']
app['roles'].each do |disk|
rname = disk.keys.first
app['roles'].each do |role|
rname = role.keys.first
tmpl << <<-EOT.strip
ROLE = [ NAME = "#{rname}", APP="#{role[rname]}]
ROLE = [ NAME = "#{rname}", APP="#{role[rname]}" ]
EOT
end
end