mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
When a match is made, the username is changed. It's then inappropriate to attempt further matches because we're not using the original username. If multiple matches were made with the original username, there could be no single modified username to return. An alternative would be to return pairs of server and modified username. Signed-off-by: Simon Arlott (cherry picked from commit 721aa612326262bd1cb370743218b2632a67b306)
This commit is contained in:
parent
fc285cc9c9
commit
3516cc1d09
@ -274,6 +274,7 @@ def get_server_order(opts, user)
|
||||
user = m[1] if m[1]
|
||||
|
||||
order << to_array(server)
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user