Commit fb02f497 authored by DELABROYE Dimitri's avatar DELABROYE Dimitri
Browse files

[generators] handle retired nodes in find-duplicates

parent ae32beac
...@@ -49,6 +49,11 @@ def yaml_input_find_duplicates(refapi_hash, options) ...@@ -49,6 +49,11 @@ def yaml_input_find_duplicates(refapi_hash, options)
if options.key?(:clusters) && !options[:clusters].include?(cluster_uid) if options.key?(:clusters) && !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|
if node.key?("status") && node["status"] == "retired"
end 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