Commit f98a9a8e authored by Christian Jung's avatar Christian Jung

check for correct tag category

parent de295e25
Pipeline #57272930 passed with stage
in 3 seconds
......@@ -14,7 +14,7 @@ begin
$evm.log("info", "Current cluster #{cluster.name} tags: #{tags}")
$evm.log("info", "Checking if current tag matches department/#{tag_name}")
cluster.tags.each do |tag|
if tag == "department/#{tag_name}" then
if tag == "security_zone/#{tag_name}" then
$evm.log("info", "Tag matches")
clusters[cluster.name] = "#{cluster.name}"
else
......
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