Commit b2c4acf4 authored by Christian Jung's avatar Christian Jung

missing end

parent 132e9003
Pipeline #57276460 passed with stage
in 3 seconds
......@@ -8,14 +8,14 @@ begin
if current_cluster.nil? then
lans['!'] = '-- select cluster first --'
else
cluster = $evm.vmdb(:ems_cluster).find_by_name(current_cluster)
tags = cluster.tags
$evm.log("info", "Current cluster #{cluster.name} tags: #{tags}")
cluster.hosts.each do |host|
lans['!'] = '-- select from list --'
host.lans.each do |lan|
lans[lan.id] = "#{lan.name} (tag: #{lan.tag})"
cluster = $evm.vmdb(:ems_cluster).find_by_name(current_cluster)
tags = cluster.tags
$evm.log("info", "Current cluster #{cluster.name} tags: #{tags}")
cluster.hosts.each do |host|
lans['!'] = '-- select from list --'
host.lans.each do |lan|
lans[lan.id] = "#{lan.name} (tag: #{lan.tag})"
end
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment