Commit dea4691f authored by Christian Jung's avatar Christian Jung

handle ! gracefully

parent b2c4acf4
Pipeline #57277618 passed with stage
in 3 seconds
......@@ -5,7 +5,7 @@ begin
current_cluster = $evm.root["dialog_cluster"]
$evm.log("info", "Current Cluster is: #{current_cluster}")
if current_cluster.nil? then
if current_cluster.nil? or current_cluster == "!" then
lans['!'] = '-- select cluster first --'
cluster = $evm.vmdb(:ems_cluster).find_by_name(current_cluster)
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