From 789c20fa802cf2ff5c90c0e2b1ade5c5900a98c9 Mon Sep 17 00:00:00 2001 From: Laurent Pouilloux <laurent.pouilloux@inria.fr> Date: Mon, 9 Oct 2023 10:10:59 +0200 Subject: [PATCH] [gen:oar-prop] fix comment --- lib/refrepo/gen/oar-properties.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/refrepo/gen/oar-properties.rb b/lib/refrepo/gen/oar-properties.rb index 27a1205763e..86008a95360 100644 --- a/lib/refrepo/gen/oar-properties.rb +++ b/lib/refrepo/gen/oar-properties.rb @@ -1217,7 +1217,7 @@ def extract_clusters_description(clusters, site_name, options, data_hierarchy, s if oar_resource_ids.length < phys_rsc_map["core"][:current_ids].length # the cluster has less resource ids than needed (because resources were added to it) needed = phys_rsc_map["core"][:current_ids].length - oar_resource_ids.length - # -1 here asks to generate the resources, not add them + # -1 here asks to generate the resources, not change them oar_resource_ids += [*1..needed].map { -1 } end -- GitLab