Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 78b6a6ba authored by DELABROYE Dimitri's avatar DELABROYE Dimitri
Browse files

[lib/valide/homogeneity] fix bug #10709

parent 0b6d8cdd
No related branches found
No related tags found
No related merge requests found
Pipeline #89163 failed
......@@ -177,8 +177,8 @@ def cluster_homogeneity(refapi_hash, options = {:verbose => false})
count[site_uid] = {}
site["clusters"].sort.each do |cluster_uid, cluster|
next if options.key?(:clusters) && !options[:clusters].include?(cluster_uid)
next if options.key?(:clusters) &&
!(options[:clusters].include?(cluster_uid) || options[:clusters].empty?)
count[site_uid][cluster_uid] = 0
refnode_uid = nil
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment