Commit 33d51076 authored by Christian Jung's avatar Christian Jung

even better

parent 9cc29163
Pipeline #57264048 passed with stage
in 3 seconds
......@@ -3,10 +3,11 @@ begin
# get currently selected tags
current_tag = $evm.root["dialog_tag_control_1"]
$evm.log("info", "Current Tag is: #{current_tag}")
if current_tag[0].name.nil? then
if current_tag == [] then
lans['!'] = '-- select tag first --'
else
$evm.log("info", "Current Tag is: #{current_tag}")
$evm.vmdb(:ems_cluster).all.each do |cluster|
tags = cluster.tags
$evm.log("info", "Current cluster #{cluster.name} tags: #{tags}")
......
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