Commit 185e7f36 authored by Florent Didier's avatar Florent Didier
Browse files

[dev] Add disk properties for disk reservation

parent 7b9dbbb2
......@@ -143,7 +143,8 @@ class ::Hash
# Custom iterator. Only consider entries corresponding to cluster_list and node_list. Sorted by node_uid.
def each_filtered_node_uid(cluster_list, node_list)
self.each_sort_by_node_uid { |node_uid, properties|
self.each_sort_by_node_uid { |key, properties|
node_uid, = key
cluster_uid = node_uid.split(/-/).first
if (! cluster_list || cluster_list.include?(cluster_uid)) &&
......
This diff is collapsed.
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