Commit ee7d1123 authored by Lucas Nussbaum's avatar Lucas Nussbaum
Browse files

[dev] fix valid:duplicates

parent 15e19643
Pipeline #50903 passed with stages
in 1 minute and 28 seconds
...@@ -37,7 +37,7 @@ def yaml_input_find_duplicates(options) ...@@ -37,7 +37,7 @@ def yaml_input_find_duplicates(options)
end end
site["clusters"].sort.each do |cluster_uid, cluster| site["clusters"].sort.each do |cluster_uid, cluster|
if options.key?(:clusters) && !options[:clusters].include?(cluster_uid) if options.key?(:clusters) && (not options[:clusters].empty?) && !options[:clusters].include?(cluster_uid)
site["clusters"].delete(cluster_uid) site["clusters"].delete(cluster_uid)
end end
cluster["nodes"].sort.each do |node_uid, node| cluster["nodes"].sort.each do |node_uid, node|
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