Fix wrong cluster configuration used when multiple match
Compare changes
@@ -224,13 +224,14 @@ class Lanpower::Application::Lanpower < Lanpower::Application
La vérification des quotas de chaque projet est mise en place en mode non bloquant. Plus d'information sur : https://doc-si.inria.fr/pages/viewpage.action?pageId=146834656
Quota verification is enabled for projects in non-blocking mode. More information: https://doc-si.inria.fr/pages/viewpage.action?pageId=146834656
Mise à jour GitLab terminée. Nous sommes désormais en version 17.7.0 : https://about.gitlab.com/releases/2024/12/19/gitlab-17-7-released/
When using lanpower on abacus25-2, lanpower took the first matching cluster configuration. So if we have both abacus2 and abacus25 in the configuration, lanpower just took the first declared.
This commit change that: now when using lanpower on abacus25-2, lanpower now look for an exact match of abacus25 in the configuration.